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

Lieferantenbestellung #{$DISTRIBUTOR_ORDERS_ID}

{foreach from=$PRODUCTS item=P key=PRODUCTS_ID} {/foreach}
{#ordered#} pID {#product#} {#unallocated#} {#tab_storage#}
{$P.qty_rueckbuch} {$PRODUCTS_ID} {$P.name} {if $P.unallocated > 0}{$P.unallocated}{else}0{/if} {if $P.unallocated > 0} {foreach from=$P.storages item=s} Lager »{$s.name}« / Lagernummer {$s.nummer}
    {if $s.places.0} {foreach from=$s.places item=sp}
  • {$sp.quantity}x {$sp.storage_place}
  • {/foreach} {/if}
  •  {$TEXT_DISTRIBUTOR_ORDER_ALLOC_ADD_PRODUCT_TO_ANOTHER_PLACE}

{/foreach} {else} - {/if}