{include file="header.html"} {include file="calendar_js.html"}

{$layout.pagetitle}

{if $customer} {/if}
{t}Main Informations:{/t}
{t}Invoice number:{/t}   {if $numberplanlist} {/if}
{t}First/last or Company name:{/t}
{t}Address:{/t}

{if $customer.ten}{t}TEN:{/t}
{elseif $customer.ssn}{t}SSN:{/t}
{/if}
{$customer.customername|truncate:"80":"..."}
{$customer.address}
{$customer.zip} {$customer.city}
{if $customer.ten}{$customer.ten}
{elseif $customer.ssn}{$customer.ssn}
{/if}
{t}Settlement date:{/t} {if $invoice.cdatewarning} {/if}
{t}Deadline:{/t} {if $invoice.cdate} ({$invoice.cdate+$invoice.paytime*86400|date_format:"%Y/%m/%d"}) {/if}
{t}Payment type (cash/transfer/etc):{/t}
{t}Customer:{/t} {t}or Customer ID:{/t}
{t}Submit{/t}

{*{counter print=false}*} {cycle values="light,lucid" print=false} {foreach from=$contents item=item} {foreachelse} {/foreach} {if $contents} {/if}
{t}No.{/t} {t}Name of product, commodity or service:{/t} {t}Product ID:{/t} {t}Amount:{/t}
{t}Unit:{/t}
{t}Net Price:{/t}
{t}Net Value:{/t}
{t}Tax:{/t} {t}Gross Price:{/t}
{t}Gross Value:{/t}
 
{counter}. {$item.name} {$item.prodid} {$item.count}
{$item.jm}
{$item.valuenetto|money_format}
{$item.s_valuenetto|money_format}
{$item.tax} {$item.valuebrutto|money_format}
{$item.s_valuebrutto|money_format}

 

{t}Invoice have no items. Use form below for items addition.{/t}

 

{t}Total:{/t} {sum array=$contents column=s_valuenetto string_format="%01.2f"}   {sum array=$contents column=s_valuebrutto string_format="%01.2f"}  
{counter}.
{t}Select{/t}
{t}Clear Contents{/t} {if !$customer} {elseif !$contents} {else} {/if} {t}Save & Print{/t}
{include file="footer.html"}