{config_load file=$language_path section="general"} {config_load file=$language_path section="amazon"}

Amazon   {**} {if $import_lagerbericht_file_exists} {else} {/if} {if $NUMBER_OF_ACCOUNTS > 1} {/if}

{if $action == ''} {if $VERSAND_FILE == 1} Download Amazon Fulfillment Export vom {$VERSAND_FILE_DATE} {/if} {if $COUNT_TRANSFER_ITEMS} {/if} {if $COUNT_TODO_ITEMS} {/if} {if $AFC_LINK} Amazon Updates Queue {/if}

Seller: {$SELLING_PARTNER_ID}
{$TEXT_AMAZON_REPORT_COUNT}: {$REPORT_COUNT}
{$TEXT_AMAZON_PRODUCTS_COUNT}: {$PRODUCTS_COUNT}
{$TEXT_AMAZON_SCHEDULES_INTRO}: {$SCHEDULES|@count}


{if $schedules}

{$TEXT_AMAZON_SCHEDULES_INTRO}
{$TEXT_AMAZON_REPORT_TYPE} {$TEXT_AMAZON_SCHEDULE} {$TEXT_AMAZON_SCHEDULEDDATE}  
{$schedules.ReportTypeName} {$schedules.Schedule} {$schedules.ScheduledDate|date_format:"%d.%m.%Y %H:%I:%S"} {$schedules.input}

{/if} {if $SCHEDULE_GENERATED == 1}

Kein autom. Amazon Auftragsreport vorhanden. Es wurde eine neue Automatik generiert und ist in etwa einer Minute verfügbar.

{elseif $SCHEDULE_GENERATED == 2}

Kein autom. Amazon Auftragsreport vorhanden. Wird gerade initalisiert.

{/if} {elseif $action == 'products'}

{#products#}

{elseif $action == 'sync_confirm'}

{#confirm_sync#}

{#confirm_file#}: {$file}
{#confirm_date#}: {$filedate}
{#confirm_items#}: {$items_num}
{$FORM} {foreach from=$items item=item key=nr} {/foreach}
SKU {#products_id#} {#amazon_qty_local#} {#amazon_qty#} {#amazon_price_brutto_local#} {#amazon_price_brutto#} TODO
{#select_all#} {#unselect_all#} 
{$item.SKU} {$item.ProductsId} {$item.AmazonQuantityDB} {$item.AmazonQuantity} {$item.AmazonPriceDB|string_format:"%.2f"} {$item.AmazonPrice|string_format:"%.2f"} {foreach from=$item.todo item=todo}  {$todo.action_title}: {$todo.value}
{/foreach}
{$FORM_END} {elseif $action == 'feed'} {$ReportTypeTitle} vom {yes_date_short date=$ReportDate show_time=1} (Marktplatz: {foreach from=$MARKETPLACE_IDS item=m}{yes_get_amazon_marketplace_name marketplace_id=$m}{/foreach}) {if $ReportType == '_GET_FLAT_FILE_OPEN_LISTINGS_DATA_' or $ReportType == 'GET_FLAT_FILE_OPEN_LISTINGS_DATA'}


{foreach from=$items item=item} {foreachelse} {/foreach}
  SKU ASIN {#amazon_price_brutto#} {#amazon_price_brutto_local#} {#amazon_qty#} {#amazon_qty_local#} {#available#} V1 {#products_id#}
{$item.sku} {$item.asin} {if $item.price_update_in_progress} {$item.price} * {else} {$item.price} {/if} {$item.price_local|string_format:"%.2f"} {if $item.price_local_changed_info} {/if} {if $item.qty_update_in_progress} {$item.qty} * {else} {$item.qty} {/if} {$item.qty_local}{if $item.qty_local != $item.qty}{#amazon_qty_diff#}{/if} {if $item.qty_local_changed_info} {/if} {$item.qty_available} {$item.v1} {if $item.products_id == '-1'} {else} {$item.products_id} {/if}
{#no_search_results#}
{elseif $ReportType == 'GET_MERCHANT_LISTINGS_DATA'}


{foreach from=$items item=item key=item_key} {/foreach}
  {#amazon_title#} ID {#products_id#} {#amazon_price_brutto#} {#amazon_price_brutto_local#} {#amazon_qty#} {#amazon_qty_local#} {#available#}
  {$item.name}{if $item.note != ''}
{$item.note}{/if}
List-ID: {$item.id}
SKU: {$item.sku} {if $item.asin != ''}
ASIN: {$item.asin} {/if}
{if $item.products_id == '-1'} {else} {$item.products_id} {/if} {$item.price|string_format:"%.2f"} {$item.price_local|string_format:"%.2f"} {if $item.price_local_changed_info} {/if} {$item.qty} {$item.qty_local}{if $item.qty_local <> $item.qty}{#amazon_qty_diff#}{/if} {if $item.qty_local_changed_info} {/if} {$item.qty_available}
{elseif $ReportType == '_GET_FLAT_FILE_ORDERS_DATA_' or $ReportType == '_GET_ORDERS_DATA_'} {if $IMPORTABLE} {$PROCESS_ORDER_FORM}
{/if} {foreach from=$items item=item key=item_key} {/foreach}
Amazon Order ID {#auction_buyer#} {#product#} {#shipping_address#}
{$item.order_id}
vom {$item.purchase_date|date_format:"%d.%m.%Y"} {if $item.payments_date}
{#date_payment#}: {$item.payments_date|date_format:"%d.%m.%Y"} {/if} {* DEAKTIVIERT - NUR NOCH KOMPLETTIMPORT! {if $item.items_in_order_processed < $item.items_in_order}
{if $item.valid_products_ids} {else} {#unknown_product_no_import#} {/if} {/if} *}
{$item.buyer_email}
{$item.buyer_name}
{$item.bill_address_1}
{if $item.bill_address_2} {$item.bill_address_2}
{/if} {if $item.bill_address_3} {$item.bill_address_3}
{/if} {$item.bill_postal_code} {$item.bill_city}
{if $item.bill_state} {$item.bill_state}
{/if} {$item.bill_country}
{$item.buyer_phone_number} {if $item.bill_phone_number != '' and $item.bill_phone_number != $item.buyer_phone_number} / {$item.bill_phone_number} {/if}
{foreach from=$item.items item=product}
{$product.quantity_purchased} x {$product.name}
SKU: {$product.sku} {if $product.products_id != '-1'}  {#products_id#}: {$product.products_id} {if $product.orders_id > 0} {#short_orders_id#}: {yes_system_link type="order" id=$product.orders_id} {/if} {else} {/if} {foreach from=$product.price item=price}
{$price.type}: {foreach from=$price.amounts item=amount} {$amount.amount} {$amount.currency} {/foreach}
{/foreach} {foreach from=$product.fees item=fee}
{$fee.type}: {$fee.amount} {$fee.currency}
{/foreach}
{/foreach}
{$item.recipient_name}
{if $item.ship_address_1} {$item.ship_address_1}
{/if} {if $item.ship_address_2} {$item.ship_address_2}
{/if} {if $item.ship_address_3} {$item.ship_address_3}
{/if} {$item.ship_postal_code} {$item.ship_city}
{if $item.ship_state} {$item.ship_state}
{/if} {$item.ship_country}
{$item.ship_phone_number}
{#shipping_method#}: {$item.shipping_method} ({$item.shipping_service_level})
{if $IMPORTABLE} {$FORM_END} {/if} {elseif $ReportType == 'FEE_DISCOUNTS_REPORT' or $ReportType == 'GET_FLAT_FILE_ACTIONABLE_ORDER_DATA_SHIPPING' or $ReportType == 'GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL'} {foreach from=$items.0 item=row key=nr} {/foreach} {foreach from=$items item=row key=nr} {if $nr > 0} {foreach from=$row item=col key=nr} {/foreach} {/if} {/foreach}
{$row}
{$col}
{/if} {elseif $action == 'get_orders'}
{if $LAST_LINK != ''}{/if} {$PAGE_INFO} {if $NEXT_LINK != ''}{/if}
{foreach from=$items.0 item=row key=nr} {if $nr == 'seller_order_id'} {else} {/if} {/foreach} {foreach from=$items item=row key=nr} {if $row.order_status == 'Canceled'} {else} {/if} {foreach from=$row item=col key=nr} {/foreach} {/foreach}
YES oID{$nr}
{if $nr|strstr:'_date'} {yes_date_short date=$col show_time=1} {else} {$col} {/if}
{elseif $action == 'reports'} {foreach from=$items item=item} {assign var="get_param_marketplace_ids" value=""} {foreachelse} {/foreach}
{#marketplace_ids#} ID Typ {#date_created#} Status
{foreach from=$item->getMarketplaceIds() item=m}{yes_get_amazon_marketplace_name marketplace_id=$m} {if $get_param_marketplace_ids == ''} {assign var="get_param_marketplace_ids" value=$m} {else} {assign var="get_param_marketplace_ids" value="`$get_param_marketplace_ids`,`$m`"} {/if}   {/foreach} {if $item.report_document_id != ''} {/if} {$item.report_id} {if $item.report_document_id != ''} {/if} {if $item->getReportScheduleId() != ''} 🕑 {/if} {$item.report_type} {$item.created_time} {$item.processing_status}
{#no_search_results#}
{elseif $action == 'todo_list'} {$FORM} {foreach from=$items item=item key=item_key} {/foreach}
  FeedSubmissionID {#type#} {#status#} {#date_added#}
{$item.feed_submission_id} {$item.feed_type} {$item.feed_processing_status} {$item.submitted_date|date_format:"%d.%m.%y %H:%M:%S"}

{$FORM_END} {else if $action == 'order_fulfillments'}

{$HEADING_TITLE}

{$FORM} {foreach from=$items item=item key=item_key} {/foreach}
  {#amazon_orders_id#} {#short_orders_id#} {#amazon_title#} {#products_id#} {#shipper#} {#shipper_tracking_number#}
{$item.orig_amazon_orders_id}{if $item.is_combined} Kombiniert{/if} {yes_system_link id=$item.orders_id type="order"} {$item.quantity} x {$item.title} {$item.products_id} {if $item.carrier_name != ''} {$item.carrier_name} {else} {$item.carrier_code} {/if} {$item.shipping_method}

{$FORM_END} {else if $action == 'auth'} Verfügbare Amazon Seller Anzahl: {$AMAZONUSER_COUNTER}

{foreach from=$AUTH item=a} {$a}
{/foreach} {/if}