7b8f3d945923e2571963bc9dd77c5b278e626300
[kivitendo-erp.git] / templates / webpages / customer_vendor_turnover / invoices_statistic.html
1 [%- USE T8 %]
2 [%- USE LxERP %]
3 [%- USE L %]
4 [%- USE HTML %]
5 <div id="invoice_statistic">
6   <table width="100%">
7     <tbody>
8       <tr>
9         <td class="listheading">[% 'Invoice Number' | $T8 %]</td>
10         <td class="listheading">[% 'Invoice Date' | $T8 %]</td>
11         <td class="listheading">[% 'Amount' | $T8 %]</td>
12         <td class="listheading">[% 'Inv. Duedate' | $T8 %]</td>
13         <td class="listheading">[% 'Paid' | $T8 %]</td>
14         <td class="listheading">[% 'Open Amount' | $T8 %]</td>
15       </tr>
16
17       [%- FOREACH row = invoices %]
18       <tr class="listrow[% loop.count % 2 %]">
19         <td>[% row.invnumber | html %]</td>
20         <td>[% row.transdate.to_kivitendo | html %]</td>
21         <td>[%- LxERP.format_amount(row.amount, 2) %]</td>
22         <td>[% row.duedate.to_kivitendo | html %]</td>
23         <td>[%- LxERP.format_amount(row.paid, 2) %]</td>
24         <td>[%- LxERP.format_amount(row.amount - row.paid, 2) %]
25       </tr>
26       [% END %]
27     </tbody>
28   </table>
29
30       
31     </tbody>
32   </table>
33 </div>