{config_load file=$language_path section="general"} {config_load file=$language_path section="products"} {config_load file=$language_path section="distributor_order"}
{if $search_mode}
{*
*}
{#close#} {/if}
{$search_form} {$search_form_edit_action} {$search_form_action} {$search_form_doID} {$search_form_dID}
{#search_distributor_products#} {$search_form_input}               {$BUTTON_SELECT_PRODUCTS_SEARCH_DEFAULT}
{$TEXT_ONLY_ALLOCATEDS}
{$FORM_END}

{if $search_mode} {$SEARCH_FORM} {if $search_results.0} {/if} {foreach item=search from=$search_results} {/foreach}
pID {#quantity_short#} {#product#} {#products_model#} {#text_min_ek_price#}
{products_id_image id=$search.pID} {$search.input_quantity} {if $search.dist_unallocated} {#price#} (netto): {if $search.unallocated_price_distributor_name} ({$search.unallocated_price_distributor_name}){/if} {/if} {$search.products_name}{if $search.distributor_number != ''}
Lieferantennummer: {$search.distributor_number}{/if}
{if $search.VPE}VPE: {$search.VPE} / {/if}{if $search.VSE}VSE: {$search.VSE}{/if}{if $search.VSE or $search.VPE} | {/if}Min.-B: {$search.MINDESTBESTELLMENGE} {if $search.PROPERTIES}
{#product_properties#}
{foreach from=$search.PROPERTIES item=property} {$property.title}

{/foreach} {/if}
{$search.products_model}  {$search.ek} {if $search.newest_ek_data}
{#date_last_modified#}: {$search.newest_ek_data.date_saved|date_format:"%d.%m.%Y"} {/if}
 
{if $search.default_ek.conditions}{#text_payment_conditions#} {$search.default_ek.distributor_name}:
{$search.default_ek.conditions}{else}{#text_payment_conditions#}{/if}
{if $search.default_ek.shippingtime}{#text_shippingtime#} {$search.default_ek.distributor_name}: {$search.default_ek.shippingtime}{else}{#text_shippingtime#}{/if} {#text_ordered#}: {$search.distributor_ordered} {#text_sellings#}
{if $search.default_ek.shippings}{#text_delivery_conditions#} {$search.default_ek.distributor_name}: {$search.default_ek.shippings}{else}{#text_delivery_conditions#}{/if} {#text_default_price#} {$search.default_ek.distributor_name}: {if $search.default_ek.is_default == 1}{$search.default_ek.price|string_format:"%.2f"}{else}kein{/if} {#text_invoices#}: {$search.shop_orders} {#text_4_weeks#}: {$search.sells_4weeks} {#text_6_month#}: {$search.sells_6month}
{if $search.default_distributor.comments}{#text_comment#}: {$search.default_distributor.comments}{else}{#text_comment#}{/if} {#text_default_distributor#}: {if $search.default_ek.is_default == 1}{$search.default_ek.distributor_name}{else}kein{/if} {#text_phys_quantity#}: {$search.qty_phys} {#text_3_month#}: {$search.sells_3month} {#text_1_year#}: {$search.sells_12month}
{if $search_results.0} {/if} {$FORM_END}
{/if}
{foreach name=blah item=product from=$products} {$product.edit_form} {$product.input_dID} {$product.input_pID} {$product.input_doID} {$product.input_opID} {$FORM_END} {foreach item=colli from=$product.collies} {/foreach} {/foreach}
pID {#quantity_short#} {#product#} {#products_model#} {#tax#} {#price#} {#price_total#}    
{$product.input_products_id}{$product.id} {$product.input_quantity} {$product.input_name}{if $product.distributor_number != ''}
{#distributor_product_number#}: {$product.distributor_number}{/if}
{if $product.VPE}VPE: {$product.VPE} / {/if}{if $product.VSE}VSE: {$product.VSE}{/if}{if $product.VSE or $product.VPE} | {/if}Min.-B: {$product.MINDESTBESTELLMENGE} {if $product.properties.0}
{#product_properties#}
{foreach from=$product.properties item=property} {$property.property_title}: {$property.property_value}
{/foreach} {/if}
{$product.input_model} {$product.input_tax} {$product.input_price}{if $ALLOW_TAX == 1} {/if} {$product.final_price} {* EIGENTLICH UEBERFLUESSIG {$product.input_dID} {$product.input_doID} {$product.delete_input_pID} {$product.input_opID} *}
{$colli.pID} {$colli.qty} {$colli.name} {$colli.model} / Kolli pID {$colli.stuecklisten_id}