{config_load file=$language_path section="general"} {if $SHOW_HEADER == 1} {yes_admin_page_menu main_title=$HEADING_TITLE buttons=$PAGE_HEADING_MENU_BUTTONS additional_title=$ADDITIONAL_TITLE} {else} {if $listingmode} {foreach name=blah item=invoice from=$invoices} {/foreach} {if $to_pay} {/if}
Re-Nr Lieferant Angelegt Status Typ Buchungsklasse Re-Betrag Bezahlt  
{$invoice.distributor_invoices_id} {$invoice.distributor_name} {$invoice.date_created|date_format:"%d.%m.%Y"} {$invoice.status_name} {$invoice.type_name}  {$invoice.reasons_name}  {$invoice.total|string_format:"%.2f"} {$invoice.installments_total|string_format:"%.2f"} {if $invoice.selected}{else}{$invoice.select_link}{/if}
Offene Summen: {$to_pay|string_format:"%.2f"}  
{$navi}
{else}
{#address#}
{#name#}{$invoice.addressdata.name} 
{#street#}{$invoice.addressdata.street_address} 
{#postcode#} {#city#}{$invoice.addressdata.postcode} {$invoice.addressdata.city}
{#country#}{$invoice.addressdata.country} 
{#telephone#}{$invoice.addressdata.telephone} 
{#email_address#}{$invoice.addressdata.email_address} 

{if $invoice.info.distributor_orders_id} {/if}
{#date_added#}: {$invoice.info.date_created|date_format:"%d.%m.%Y"}
{#date_last_modified#}: {$invoice.info.last_modified|date_format:"%d.%m.%Y"}
{$TEXT_PAYMENT_TARGET}: {if $invoice.info.payment_target > 0}{$invoice.info.payment_target|date_format:"%d.%m.%Y"}{else}Nicht angegeben{/if} {icon type="edit" title=$TEXT_PAYMENT_TARGET}
{$TEXT_ORDER_DATE_CREATED}: {if $invoice.info.from_date > 0}{$invoice.info.from_date|date_format:"%d.%m.%Y"}{else}Nicht angegeben{/if}
{$TEXT_DISTRIBUTOR_INVOICE_NUMBER}:  {if $invoice.info.original_invoice_id != ''}{$invoice.info.original_invoice_id}{else}Nicht angegeben{/if}
{$TEXT_INVOICE_REASON}: {if $invoice.info.reasons_title != ''}{$invoice.info.reasons_title}{else}Nicht angegeben{/if} {icon type="edit" title=$TEXT_INVOICE_REASON}
{$TEXT_DISTRIBUTOR_ORDER_NUMBER}: {$invoice.info.distributor_orders_id}

{$TEXT_INVOICE_POSITIONS}

{if $invoice.entries} {foreach name=blahs item=entry from=$invoice.entries} {/foreach} {/if} {if $invoice.products} {foreach name=blahs item=product from=$invoice.products} {/foreach} {/if}
{$TEXT_INVOICE_POSITION} {#single_price#} {#tax#} {#single_price#} Netto {#total_value#}
{$entry.qty} x {$entry.title} {$entry.price|string_format:"%.2f"} {$entry.tax}% {$entry.price_netto|string_format:"%.2f"} {$entry.total|string_format:"%.2f"} {$invoice.info.currency}
{#product#} {#products_model#} {#single_price#} {#tax#} {#single_price#} Netto {#total_value#}
{$product.qty} x {$product.name} {if $product.distributor_link != ''}{/if} [ID {$product.id}] {$product.model} {$product.price|string_format:"%.2f"} {$invoice.info.currency} {$product.tax|string_format:"%.2f"}% {$product.price_netto|string_format:"%.2f"} {$invoice.info.currency} {$product.final_price|string_format:"%.2f"} {$invoice.info.currency}

{foreach name=blaht item=total from=$invoice.totals} {/foreach}
{$total.title} {$total.text}
{$TEXT_AMOUNT_TO_PAY}: {$to_pay_total|string_format:"%.2f"} {$invoice.info.currency}
{if $invoice.info.invoice_type == 'installment'}

{$TEXT_UEBERWEISUNGEN}

{if $invoice.installments} {if $invoice.installments.0} {else} {/if} {foreach name=blahd item=installment from=$invoice.installments} {if $installment.edit} {$installment.form} {/if} {if $installment.edit} {/if} {/foreach} {/if}
{#date#} {#payment_method#} {#amount#}  
{#total_value#} {$installments_total|string_format:"%.2f"} {$invoice.info.currency}  
{$TEXT_NO_SAVED_UEBERWEISUNGEN}
{$installment.date_payment|date_format:"%d.%m.%Y"} {if $installment.edit} {$installment.payment_method_input} {else} {$installment.payment_method} {/if} {if $installment.edit} {$installment.installment_input} {else} {$installment.installment|string_format:"%.2f"} {$invoice.info.currency} {/if} {if $installment.edit} {else} {#edit#}   {$TEXT_DELETE_INSTALLMENT} {/if}
{if !$add_installment} {$TEXT_ADD_INSTALLMENT} {$TEXT_ADD_INSTALLMENT} {/if} {if $add_installment} {$add_installment_form}
{$TEXT_ADD_INSTALLMENT}
{#payment_method#}
({$TEXT_PAYMENT_METHOD_INTRO})
{$add_installment_payment_method_input} {#amount#} {$add_installment_installment_input}
{/if} {/if} {$PRINT_BUTTON}
{$edit_status_form} {$invoice_edit_old_status}
{$TEXT_CHANGE_DISTRIBUTOR_INVOICE_STATUS_CURRENT_STATUS}: {$invoice.info.status_title}
{$TEXT_CHANGE_DISTRIBUTOR_INVOICE_STATUS_NEW_STATUS}: {$invoice_edit_status_input}

{#history#}

{foreach name=blah2 item=hist from=$history} {/foreach}
{#date_added#} {#status#} {#comment#} {#editor#}
{$hist.date_added|date_format:"%d.%m.%Y"} {$hist.status_name} {$hist.comments} {$hist.editor_name}
{/if} {/if}