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