Revision d25334c6
Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt
templates/webpages/cp/invoices.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE L %] |
|
4 |
[%- USE LxERP %] |
|
5 |
<table width=100%> |
|
6 |
<tr> |
|
7 |
<th class=listheading colspan="7">[% 'Invoices' | $T8 %]</th> |
|
8 |
</tr> |
|
9 |
<tr> |
|
10 |
<th nowrap class=listheading>[% 'Row number' | $T8 %]</th> |
|
11 |
<th nowrap class=listheading>[% 'Invoice' | $T8 %]</th> |
|
12 |
<th nowrap class=listheading width="15%">[% 'Date' | $T8 %]</th> |
|
13 |
<th nowrap class=listheading width="15%">[% 'Amount' | $T8 %]</th> |
|
14 |
<th nowrap class=listheading width="15%">[% 'Due' | $T8 %]</th> |
|
15 |
<th nowrap class=listheading width="10%">[% 'Select' | $T8 %]</th> |
|
16 |
<th nowrap class=listheading width="15%">[% 'Amount' | $T8 %]</th> |
|
17 |
</tr> |
|
18 |
[%- FOREACH row = invoices %] |
|
19 |
<tr class="listrow[% loop.count % 2 %]"> |
|
20 |
<td>[% loop.count %]</td> |
|
21 |
<td>[% row.invnumber | html %][% L.hidden_tag('invnumber_' _ loop.count, row.invnumber); L.hidden_tag('id_' _ loop.count, row.id) %]</td> |
|
22 |
<td>[% row.transdate | html %][% L.hidden_tag('transdate_' _ loop.count, row.transdate) %]</td> |
|
23 |
<td class="numeric">[% LxERP.format_amount(row.amount, 2) %][% L.hidden_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %]</td> |
|
24 |
<td class="numeric">[% LxERP.format_amount(row.due, 2) %][% L.hidden_tag('due_' _ loop.count, LxERP.format_amount(row.due, 2)) %]</td> |
|
25 |
<td align="center">[% L.checkbox_tag('checked_' _ loop.count, checked=row.checked) %]</td> |
|
26 |
<td class="numeric">[% L.input_tag('paid_' _ loop.count, LxERP.format_amount(row.paid, 2), size=10) %]</td> |
|
27 |
</tr> |
|
28 |
[%- END %] |
|
29 |
<tr class='tisttotal'> |
|
30 |
<td class="listtotal"> </td> |
|
31 |
<td class="listtotal"> </td> |
|
32 |
<td class="listtotal"> </td> |
|
33 |
<td class="listtotal" align="right">[% LxERP.format_amount(totals.amount, 2) %]</td> |
|
34 |
<td class="listtotal" align="right">[% LxERP.format_amount(totals.due, 2) %]</td> |
|
35 |
<td class="listtotal"> </td> |
|
36 |
<td class="listtotal" align="right">[% LxERP.format_amount(totals.paid, 2) %]</td> |
|
37 |
</tr> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE L %] |
|
4 |
[% USE LxERP %] |
|
5 |
|
|
6 |
<table class="tbl-liste wi-moderate"> |
|
7 |
<caption>[% 'Invoices' | $T8 %]</caption> |
|
8 |
<thead> |
|
9 |
<tr> |
|
10 |
<th>[% 'Row number' | $T8 %]</th> |
|
11 |
<th>[% 'Invoice' | $T8 %]</th> |
|
12 |
<th>[% 'Date' | $T8 %]</th> |
|
13 |
<th>[% 'Amount' | $T8 %]</th> |
|
14 |
<th>[% 'Due' | $T8 %]</th> |
|
15 |
<th>[% 'Select' | $T8 %]</th> |
|
16 |
<th>[% 'Amount' | $T8 %]</th> |
|
17 |
</tr> |
|
18 |
</thead> |
|
19 |
<tbody> |
|
20 |
[% FOREACH row = invoices %] |
|
21 |
<tr> |
|
22 |
<td>[% loop.count %]</td> |
|
23 |
<td>[% row.invnumber | html %][% L.hidden_tag('invnumber_' _ loop.count, row.invnumber); L.hidden_tag('id_' _ loop.count, row.id) %]</td> |
|
24 |
<td>[% row.transdate | html %][% L.hidden_tag('transdate_' _ loop.count, row.transdate) %]</td> |
|
25 |
<td class="numeric">[% LxERP.format_amount(row.amount, 2) %][% L.hidden_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %]</td> |
|
26 |
<td class="numeric">[% LxERP.format_amount(row.due, 2) %][% L.hidden_tag('due_' _ loop.count, LxERP.format_amount(row.due, 2)) %]</td> |
|
27 |
<td>[% L.checkbox_tag('checked_' _ loop.count, checked=row.checked) %]</td> |
|
28 |
<td class="numeric">[% L.input_tag('paid_' _ loop.count, LxERP.format_amount(row.paid, 2), size=10) %]</td> |
|
29 |
</tr> |
|
30 |
[% END %] |
|
31 |
</tbody> |
|
32 |
<tfoot> |
|
33 |
<tr> |
|
34 |
<td></td> |
|
35 |
<td></td> |
|
36 |
<td></td> |
|
37 |
<td class="numeric">[% LxERP.format_amount(totals.amount, 2) %]</td> |
|
38 |
<td class="numeric">[% LxERP.format_amount(totals.due, 2) %]</td> |
|
39 |
<td></td> |
|
40 |
<td class="numeric">[% LxERP.format_amount(totals.paid, 2) %]</td> |
|
41 |
</tr> |
|
42 |
</tfoot> |
|
38 | 43 |
</table> |
44 |
|
Auch abrufbar als: Unified diff
Aenderungen hpschlaepfer