Revision f1241e1f
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/acc_trans/_mini_trial_balance.html | ||
---|---|---|
1 | 1 |
[% USE L %] |
2 | 2 |
[% USE LxERP %] |
3 | 3 |
[% USE HTML %] |
4 |
<div class="listtop">[%- HTML.escape(title) %]</div> |
|
5 | 4 |
|
6 |
<table id="balances"> |
|
5 |
<div class="wrapper"> |
|
6 |
|
|
7 |
<table id="balances" class="tbl-list"> |
|
8 |
<caption>[% HTML.escape(title) %]</caption> |
|
7 | 9 |
<thead> |
8 |
<tr> |
|
9 |
<th class="listheading">[%- LxERP.t8("Chart") %]</th>
|
|
10 |
<th class="listheading">[%- LxERP.t8("Description") %]</th>
|
|
11 |
<th class="listheading">[%- LxERP.t8("Debit") %]</th>
|
|
12 |
<th class="listheading">[%- LxERP.t8("Credit") %]</th>
|
|
13 |
</tr> |
|
10 |
<tr>
|
|
11 |
<th class="numeric-centered">[% LxERP.t8("Chart") %]</th>
|
|
12 |
<th>[% LxERP.t8("Description") %]</th>
|
|
13 |
<th class="right">[% LxERP.t8("Debit") %]</th>
|
|
14 |
<th class="right">[% LxERP.t8("Credit") %]</th>
|
|
15 |
</tr>
|
|
14 | 16 |
</thead> |
15 |
|
|
16 | 17 |
<tbody> |
17 |
[%- FOREACH balance = BALANCES %]
|
|
18 |
<tr class="listrow[% loop.count % 2 %]">
|
|
19 |
<td align="right">[%- balance.accno -%]</td>
|
|
20 |
<td>[%- balance.description -%]</td>
|
|
21 |
<td align="right">[%- IF balance.balance < 0 %] [%- LxERP.format_amount(balance.balance * -1, 2) %] [% END %]</td>
|
|
22 |
<td align="right">[%- IF balance.balance > 0 %] [%- LxERP.format_amount(balance.balance, 2) %] [%- END -%]</td>
|
|
23 |
</tr> |
|
24 |
[%- END %]
|
|
18 |
[% FOREACH balance = BALANCES %]
|
|
19 |
<tr>
|
|
20 |
<td class="numeric-centered">[% balance.accno %]</td>
|
|
21 |
<td>[% balance.description %]</td>
|
|
22 |
<td class="numeric">[% IF balance.balance < 0 %] [% LxERP.format_amount(balance.balance * -1, 2) %] [% END %]</td>
|
|
23 |
<td class="numeric">[% IF balance.balance > 0 %] [% LxERP.format_amount(balance.balance, 2) %] [% END %]</td>
|
|
24 |
</tr>
|
|
25 |
[% END %]
|
|
25 | 26 |
</tbody> |
26 |
</table> |
|
27 |
</table> |
|
28 |
|
|
29 |
</div><!-- /.wrapper --> |
|
27 | 30 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/acc_trans/_mini_trial_balance.html