{include file="header.html"}

{$layout.pagetitle}

{if $newnoteid} {/if} {include file="calendar_js.html"}
{t}Main Information:{/t}
{t}Debit note number:{/t}   {if $numberplanlist} {else} {/if}
{t}Settlement date:{/t} {if $note.cdatewarning} {/if}
{t}Deadline:{/t} {t}default{/t} {t}other{/t} {* if $note.cdate} ({$note.cdate+$note.paytime*86400|date_format:"%Y/%m/%d"}) {/if *}
{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}

{cycle values="light,lucid" print=false} {foreach from=$contents item=item} {foreachelse} {/foreach} {if $contents} {/if}
{t}No.{/t} {t}Title:{/t} {t}Value:{/t}  
{counter}. {$item.description} {$item.value|money_format}

 

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

 

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