<td align="center"><input name="paid_[% i %]" size="11" value="[% LxERP.format_amount($paid, 2, 1) %]"></td>
[% IF show_exchangerate %]
<td align="center">
- [% SET row.forex = 'forex_' _ i %]
- [% SET row.exchangerate = 'exchangerate_' _ i %]
- [% IF row.forex %]
+ [% SET forex = 'forex_' _ i %]
+ [% SET exchangerate = 'exchangerate_' _ i %]
+ [% IF forex %]
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]">
[% LxERP.format_amount(row.exchangerate, 2) %]
[% ELSE %]
<td align="center"><input name="paid_[% i %]" size="11" value="[% LxERP.format_amount($paid, 2, 1) %]"></td>
[% IF show_exchangerate %]
<td align="center">
- [% SET row.forex = 'forex_' _ i %]
- [% SET row.exchangerate = 'exchangerate_' _ i %]
- [% IF row.forex %]
+ [% SET forex = 'forex_' _ i %]
+ [% SET exchangerate = 'exchangerate_' _ i %]
+ [% IF forex %]
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]">
- [% LxERP.format_amount(row.exchangerate, 2) %]
+ [% LxERP.format_amount(exchangerate, 2) %]
[% ELSE %]
<input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 2, 1) %]">
[% END %]