{include file="header.html"}

{$layout.pagetitle}

{include file="calendar_js.html"}
{t}Main Informations:{/t}
{t}Invoice number:{/t}   {if $numberplanlist} {else} {/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} {if $customers} {t}or Customer ID:{/t} {/if} {t}Search{/t} »»»
{t}Submit{/t}
{if $customer}

{t}Customer:{/t} {$customer.customername}  »  {$customer.address}   {$customer.zip} {$customer.city}  »  {if $customer.balance < 0}{/if}{$customer.balance|money_format}{if $customer.balance < 0}{/if}

{/if}

{if $covenantlist} {/if} {cycle values="light,lucid" print=false} {foreach from=$contents item=item} {foreachelse} {/foreach} {if $contents} {/if}
{t}Invoiceless liabilities:{/t}
{cycle values="light,lucid" print=false} {section name=covenantlist loop=$covenantlist} {/section}
{t}Date:{/t} {t}Name of product, commodity or service:{/t} {t}Product ID:{/t} {t}Amount:{/t} {t}Unit:{/t} {t}Net Value:{/t} {t}Tax:{/t} {t}Gross Value:{/t}  
{$covenantlist[covenantlist].time|date_format:"%Y/%m/%d"} {$covenantlist[covenantlist].comment} {$covenantlist[covenantlist].net|money_format} {$covenantlist[covenantlist].tax} {$covenantlist[covenantlist].value|money_format} {cycle print=false}
{t}Check All{/t} {t}Add items{/t}
{t}No.{/t} {t}Name of product, commodity or service:{/t} {t}Product ID:{/t} {t}Amount:{/t}
{t}Unit:{/t}
{t}Discount:{/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|string_format:"%.2f"}
{$item.jm}
{$item.discount|string_format:"%.2f"} % {$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}Cancel{/t} {t}Clear Contents{/t} {if !$customer} {elseif !$contents} {else} {/if} {t}Save & Print{/t}
{include file="footer.html"}