{if $_c['rtl'] eq '1'} {/if} {if isset($xheader)} {$xheader} {/if}
{if isset($notify)} {$notify} {/if}

{$_L['INVOICE']}

#{$d['invoicenum']}{if $d['cn'] neq ''} {$d['cn']} {else} {$d['id']} {/if}

{$_L['Invoice Total']}: {$_c['currency_code']} {number_format($d['total'],2,$_c['dec_point'],$_c['thousands_sep'])}

{if ($d['credit']) neq '0.00'}

{$_L['Total Paid']}: {$_c['currency_code']} {number_format($d['credit'],2,$_c['dec_point'],$_c['thousands_sep'])}

{$_L['Amount Due']}: {$_c['currency_code']} {number_format($i_due,2,$_c['dec_point'],$_c['thousands_sep'])}

{/if}
{if isset($ins)} {$ins} {/if}
{if ($_c['animate']) eq '1'} {/if} {if isset($xfooter)} {$xfooter} {/if}