{include file="header.html"}

{$layout.pagetitle}

{include file="calendar_js.html"}
{trans("Main Information:")}
{trans("Settlement date:")} {if $note.cdatewarning} {/if}
{trans("Deadline:")} ({$note.cdate+$note.paytime*86400|date_format:"%Y/%m/%d"})
{trans("Customer:")} {if $customers} {trans("or Customer ID:")} {/if} {trans("Search")} »»»
{trans("Submit")}
{if $customer}

{trans("Customer:")} {$customer.customername}  »  {$customer.address}   {$customer.zip} {$customer.city}  »  {if $customer.balance < 0}{/if}{$customer.balance|money_format}{if $customer.balance < 0}{/if}

{/if}

{*{counter print=false}*} {cycle values="light,lucid" print=false} {foreach from=$contents item=item} {foreachelse} {/foreach} {if $contents} {/if}
{trans("No.")} {trans("Title:")} {trans("Value:")}  
{counter}. {$item.description} {$item.value|string_format:"%.2f"}

 

{trans("Debit note have no items. Use form below for items addition.")}

 

{trans("Total:")} {sum array=$contents column=value string_format="%01.2f"}  
{counter}.
{trans("Cancel")} {if !$customer} {trans("Save")} {trans("Save & Print")} {elseif !$contents} {trans("Save")} {trans("Save & Print")} {else} {trans("Save")} {trans("Save & Print")} {/if}
{include file="footer.html"}