{t}Draw-up date:{/t} {$note.cdate|date_format:"%Y/%m/%d"}{if $note.division_cplace neq ""}, {$note.division_cplace}{/if}
{t}Deadline:{/t} {$note.pdate|date_format:"%Y/%m/%d"}

{number number=$note.number template=$note.template time=$note.cdate assign=number} {t 0=$number}Debit Note No. $0{/t}


{t}Note drawer:{/t}

{$note.division_header|replace:"\n":"
"}
{t}Note recipient:{/t}

{$note.name}
{$note.address}
{$note.zip} {$note.city}

Niniejszym, zgodnie z zawartą Umową, obciążamy Państwa należnościami wg poniższego zestawienia:

{cycle values="grey,white" print=false name=cycle2} {counter start=0 print=false} {foreach from=$note.content item=item} {/foreach}
{t}No.{/t} {t}Title:{/t} {t}Value:{/t}
{counter}. {$item.description} {$item.value|money_format}

{t}Total:{/t}

{$note.value|money_format}

{t}Expositor:{/t} {if $note.user}{$note.user}{else}{$note.division_author}{/if} {t}To pay:{/t} {$note.value|money_format}
{t}In words:{/t} {if $_config.phpui.to_words_short_version|chkconfig} {$note.value|string_format:"%d"|to_words:0:"":1} {$note.valuep|string_format:"%02d"}/100 {else} {t 0=$note.value|string_format:"%d"|to_words 1=$note.valuep|to_words}$0 dollars $1 cents{/t} {/if}
 
{t}Cautions:{/t}
{t}If you have any questions or doubts, contact with our Customer Service Representative. Prepare your Customer ID, please.{/t}
{t}You may use our automated Customer Care Web Panel, just remember your PIN (it's printed on the other side of this page){/t}

{if $note.customerpin}

{t}Customer ID:{/t} {$note.customerid|string_format:"%04d"}
PIN: {$note.customerpin|string_format:"%04d"}

{/if} {* customer's balance: {$note.customerbalancelist.balance} *} {if $note.customerbalancelist} {if $note.customerbalancelistlimit >= $note.customerbalancelist.total} {assign var="startloop" value="0"} {else} {math assign="startloop" equation="x-y" x=$note.customerbalancelist.total y=$note.customerbalancelistlimit} {/if} {section name=balancelist loop=$note.customerbalancelist.id start=$startloop max=$note.customerbalancelistlimit} {* section name=balancelist loop=$note.customerbalancelist.id start=$note.customerbalancelistlimit step=-1 *} {/section}
{t}Date:{/t} {t}Value:{/t} {t}Tax:{/t} » {t}After:{/t} {t}Description:{/t}
{$note.customerbalancelist.date[balancelist]} {if $note.customerbalancelist.value[balancelist] > 0}+{/if}{$note.customerbalancelist.value[balancelist]|money_format} {$note.customerbalancelist.tax[balancelist]} » {if $note.customerbalancelist.after[balancelist] < 0}{/if} {$note.customerbalancelist.after[balancelist]|money_format} {if $note.customerbalancelist.after[balancelist] < 0}{/if} {$note.customerbalancelist.comment[balancelist]}
{/if}