{if $curPmt.pmt_id}
{else}
{/if}
{$BILL_PMTINFO}
{t}Invoice nr.{/t}:
{$billInfo.bill_number|wash}
{t}Invoice date{/t}:
{$billInfo.bill_date|wash|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT}
{t}Term of payment{/t}:
{$billInfo.bill_payterm|wash|default:" "}
{t}Date due{/t}:
{if strlen($billInfo.bill_date_due)}
{$billInfo.bill_date_due|wash|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT}
{else}
{t}not set{/t}
{/if}
{t}Invoice type{/t}:
{$billInfo.bmt_description|wash}
{t}Total Payments{/t}:
{if $billPmtInfo.sum}
{$config.MONETARY_SYMBOL|wash}{$billPmtInfo.sum|wash}
{else}
{t}no payments yet{/t}
{/if}
{t}Company{/t}:
{$billInfo.cpn_name|wash}
{t}Balance Due{/t}:
{$config.MONETARY_SYMBOL|wash}{$billInfo.bill_balance_due|number_format:2:$config.SEPARATOR_DECIMALS:$config.SEPARATOR_THOUSANDS}
{t}Payment Date{/t}:
{t}Payment Amount{/t}:
{if strlen($curPmt.pmt_amt)}
{else}
{/if}
{t}Notes{/t}:
{$curPmt.pmt_note|wash}
{t}Payments{/t}
{t}Date{/t}
{t}Note{/t}
{t}Amount{/t}
{*
{t}Actions{/t}
*}
{section name=pmt loop=$billPmtInfo.payments}
{$billPmtInfo.payments[pmt].pmt_date|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT}
{$billPmtInfo.payments[pmt].pmt_note|wash|default:" "}
{$billPmtInfo.payments[pmt].pmt_amt|wash|default:" "}
{/section}