1 [%- USE T8 -%][%- USE HTML -%][%- USE LxERP -%][%- USE P -%][%- USE L -%]
2 [%- IF !INVOICES.size %]
3 <p class="message_hint">[% 'No data was found.' | $T8 %]</p>
6 <tr class="listheading">
7 <th>[% L.checkbox_tag('invoices_check_all') %]</th>
8 <th>[%- LxERP.t8("Invoice number") %]</th>
9 <th>[%- LxERP.t8("Amount") %]</th>
10 <th>[%- LxERP.t8("Open amount") %]</th>
11 <th>[%- LxERP.t8("Amount less skonto") %]</th>
12 <th>[%- LxERP.t8("Invoice Date") %]</th>
13 <th>[%- LxERP.t8("Customer/Vendor Number") %]</th>
14 <th>[%- LxERP.t8("Customer/Vendor Name") %]</th>
17 [%- FOREACH invoice = INVOICES %]
18 <tr class="listrow[% loop.count % 2 %]">
19 <td>[% L.checkbox_tag('invoice_id[]', value=invoice.id) %]</td>
20 <td>[%- invoice.invnumber %]</td>
21 <td align="right">[%- LxERP.format_amount(invoice.amount, 2) %]</td>
22 <td align="right">[%- LxERP.format_amount(invoice.open_amount, 2) %]</td>
23 <td align="right">[%- LxERP.format_amount(invoice.amount_less_skonto, 2) %]</td>
24 <td align="right">[%- invoice.transdate_as_date %]</td>
25 <td>[%- invoice.vendor.vendornumber %][%- invoice.customer.customernumber %]</td>
26 <td>[%- invoice.vendor.name %][%- invoice.customer.name %]</td>
31 <script type="text/javascript">
34 $('#invoices_check_all').checkall('INPUT[name="invoice_id[]"]');