<th>[%- 'Source' | $T8 %]</th>
<th>[%- 'Memo' | $T8 %]</th>
<th>[%- 'Amount' | $T8 %]</th>
<th>[%- 'Source' | $T8 %]</th>
<th>[%- 'Memo' | $T8 %]</th>
<th>[%- 'Amount' | $T8 %]</th>
[% FOREACH i = paid_indices %]
[% SET changeable = 'changeable_' _ i %]
[% SET acc_trans_id = 'acc_trans_id_' _ i %]
[% FOREACH i = paid_indices %]
[% SET changeable = 'changeable_' _ i %]
[% SET acc_trans_id = 'acc_trans_id_' _ i %]
[% SET datepaid = 'datepaid_' _ i %]
[% SET source = 'source_' _ i %]
[% SET memo = 'memo_' _ i %]
[% SET datepaid = 'datepaid_' _ i %]
[% SET source = 'source_' _ i %]
[% SET memo = 'memo_' _ i %]
<tr style='display:none'>
<td>
<input type=hidden name="acc_trans_id_[% i %]" value="[% $acc_trans_id %]">
<tr style='display:none'>
<td>
<input type=hidden name="acc_trans_id_[% i %]" value="[% $acc_trans_id %]">
- <input id="datepaid_[% i %]" name="datepaid_[% i %]" size="11" title="[% dateformat %]" value="[% $datepaid %]">
- <input type="button" name="datepaid_[% i %]" id="trigger_datepaid_[% i %]" value="?">
+ [% IF $datepaid %]
+ [% L.date_tag('datepaid_'_ i, $datepaid) %]
+ [% ELSE %]
+ [% L.date_tag('datepaid_'_ i, today) %]
+ [% END %]
[% IF show_exchangerate %]
<td align="center">
[% SET forex = 'forex_' _ i %]
[% SET exchangerate = 'exchangerate_' _ i %]
[% IF show_exchangerate %]
<td align="center">
[% SET forex = 'forex_' _ i %]
[% SET exchangerate = 'exchangerate_' _ i %]
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]">
[% LxERP.format_amount($forex, 2) %]
[% ELSE %]
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]">
[% LxERP.format_amount($forex, 2) %]
[% ELSE %]