<td>[% L.checkbox_tag('invoice_id[]', value=invoice.id) %]</td>
<td>[%- invoice.invnumber %]</td>
<td align="right">[%- LxERP.format_amount(invoice.amount, 2) %]</td>
- <td align="right">[%- LxERP.format_amount(invoice.amount - invoice.paid, 2) %]</td>
+ <td align="right">[%- LxERP.format_amount(invoice.amount_open, 2) %]</td>
<td align="right">[%- LxERP.format_amount(invoice.amount_less_skonto, 2) %]</td>
<td align="right">[%- invoice.transdate_as_date %]</td>
<td>[%- invoice.vendor.vendornumber %][%- invoice.customer.customernumber %]</td>
[% USE L %]
+[% USE T8 %]
+[% USE LxERP %]
[% FOREACH invoice = INVOICES %]
<div id="[% bt_id %].[% invoice.id %]">
[% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
- [% invoice.invnumber %]
+ [% 'Invno.' | $T8 %]: [% invoice.invnumber %]
+ [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.amount_open, 2) %]
<a href=# onclick="delete_invoice([% bt_id %], [% invoice.id %])">x</a>
</div>
[% END %]