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

{$layout.pagetitle}

{t}Main Informations:{/t}
{t}Credit note number:{/t}   {if $numberplanlist} {/if}
{t}Settlement date:{/t} {if $cnote.cdatewarning} {/if}
{t}Deadline:{/t} {if $cnote.cdate} ({$cnote.cdate+$cnote.paytime*86400|date_format:"%Y/%m/%d"}) {/if}
{t}Submit{/t}

{cycle values="light,lucid" print=false} {foreach from=$contents item=item} {/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}Tax:{/t} {t}Gross Price:{/t}  
{$item.itemid}. {if $item.deleted} {$item.name} {else} {/if} {if $item.deleted} {$item.prodid} {else} {/if} {if $item.deleted} {$item.count|string_format:"%.2f"}
{$item.jm} {else} {/if}
{if $item.deleted} {$item.valuenetto|money_format} {else}
{/if}
{if $item.deleted} {assign var=taxid value=$item.taxid} {$taxeslist.name.$taxid} {else} {/if} {if $item.deleted} {$item.valuebrutto|money_format} {else}
{/if}
{if $item.deleted} {else} {/if}
{t}Total:{/t} {sum array=$contents column=s_valuenetto string_format="%01.2f"}   {sum array=$contents column=s_valuebrutto string_format="%01.2f"}  
{if $error} {else} {/if} {t}Save & Print{/t}
{include file="footer.html"}