{config_load file=$language_path section="general"} {config_load file=$language_path section="products"} {yes_admin_page_menu main_title=$HEADING_TITLE buttons=$PAGE_HEADING_MENU_BUTTONS additional_title=$ADDITIONAL_TITLE}
{if $colli_array} {foreach item=colli from=$colli_array} {/foreach} {if $total_ek} {/if} {/if}
{$products_image} {#product#}: {$products_name}
{if $products_model}{#products_model#}: {$products_model}{/if}
{if $colli_array} {$TEXT_VOLUME}: {$volume}{$TEXT_VOLUME_INTRO} {else} {$TEXT_PRODUCTS_SIZE}: {$TEXT_PRODUCTS_SIZE_INTRO}
{$size_depth}x{$size_width}x{$size_height} {/if} {if $storages_array}

{$TEXT_STORAGE_NUMBERS_ALLOCATED}
{foreach name=blahs item=storage from=$storages_array} {/foreach}
{$storage.name}{$storage.nummer}
{/if}
{$TEXT_NEWEST_EK_PRICES}
{foreach from=$newest_ek_prices item=nek} {/foreach}
{#distributor#} {$TEXT_EK_PRICE} {#date_created#}
{$nek.distributor} {$nek.price} {$nek.date_created}
{$TEXT_COLLIES_INTRO}
 
{$TEXT_COLLIES_INTRO2}
 {$colli.qty}x [{#products_id#}: {$colli.pID}] {$colli.name} {$colli.ek}
 {$TEXT_COLLIES_CALCULATED_EK} {$total_ek}

{if $distributors}

{$TEXT_PRODUCT_ALLOCATED_TO_DISTRIBUTORS}

{foreach item=distributor from=$distributors} {$distributor.form}{$distributor.input_id} {/foreach}
Standard {#distributor#} {#distributor_product_number#} {#distributor_products_link#} {#comment#} {#mindestbestellmenge#}    
{$distributor.input_is_default} {$distributor.distributor_name} {$distributor.input_number} {$distributor.input_link} {$distributor.input_comments} {$distributor.input_mindestbestellmenge} Stk.     {$distributor.delete_link} {$distributor.edit_price_link}
{/if}

{if $edit_ek}

{$TEXT_DISTRIBUTOR_EK_PRICES} {$distributor_name}

{if $dek_array} {foreach item=dek from=$dek_array} {if $dek.edit} {$dek.form} {$dek.input_id} {else} {/if} {/foreach} {else} {/if} {$add_price_form}
Standard {$TEXT_EK_PRICE} {$TEXT_CONDITIONS} {#shipping#} {$TEXT_SHIPPINGTIME} {#vse#} {#vpe#} {$TEXT_VPE_SIZES} {#date_created#}  
{$dek.input_price} {$dek.input_conditions} {$dek.input_shippings} {$dek.input_shippingtime} {$dek.input_vse} {$dek.input_vpe}
{#vpe_width#}{$dek.input_vpe_width}
{#vpe_height#}{$dek.input_vpe_height}
{#vpe_depth#}{$dek.input_vpe_depth}
{$dek.date_saved} {$dek.input_sav}
{if $dek.is_default == 1}{else} {/if} {$dek.price} {$dek.conditions} {$dek.shippings} {$dek.shippingtime}
{$dek.vse} {$dek.vpe} {$dek.vpe_width}x{$dek.vpe_height}x{$dek.vpe_depth} = {$dek.m3}m³ {$dek.date_saved} {$dek.edit_link} {$dek.delete_link}
{$TEXT_NO_DISTRIBUTOR_PRICES}

{$TEXT_ADD_NEW_DISTRIBUTOR_PRICE}

Standard EK Preis {$TEXT_CONDITIONS} {#shippings#} {#shippingtime#} {#vse#} {#vpe#} {$TEXT_VPE_SIZES}  
{$add_input_price} {$add_input_conditions} {$add_input_shippings} {$add_input_shippingtime}
{$add_input_vse} {$add_input_vpe}
{#vpe_width#}{$add_input_vpe_width}
{#vpe_height#}{$add_input_vpe_height}
{#vpe_depth#}{$add_input_vpe_depth}


{/if} {if $distributors_array} {$add_distributor_form}
{$TEXT_ADD_PRODUCT_DISTRIBUTOR} {$add_distributor_input}
{else}
{$TEXT_NO_DISTRIBUTORS_EXIST}
{/if} {if $ek_prices_unallocated}


{foreach name=blah2 item=ek from=$ek_prices_unallocated} {$ek.form} {$ek.input_id} {/foreach}
Lieferant {$TEXT_EK_PRICE} {#vse#} {#vpe#} {#date_created#}  
{$ek.distributor_name} (Nicht zugewiesen) {$ek.price} {$ek.vse} {$ek.vpe} {$ek.date_saved} {$ek.submit_button} {$ek.delete_link}

{/if}