Revision ac203171
Von Kivitendo Admin vor fast 10 Jahren hinzugefügt
templates/webpages/acc_trans/_mini_ledger.html | ||
---|---|---|
1 |
[% USE L %] [%- USE LxERP %] [%- USE HTML %] |
|
2 |
<div class="listtop">[%- HTML.escape(title) %]</div> |
|
3 |
|
|
4 |
<div style="padding-bottom: 15px"> |
|
5 |
<table id="acc_trans"> |
|
6 |
<thead> |
|
7 |
<tr> |
|
8 |
<th class="listheading">[%- LxERP.t8("Date") %]</th> |
|
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> |
|
14 |
</thead> |
|
15 |
|
|
16 |
<tbody> |
|
17 |
[%- FOREACH transaction = TRANSACTIONS %] |
|
18 |
<tr class="listrow[% loop.count % 2 %]"> |
|
19 |
<td>[%- transaction.gldate.to_kivitendo -%]</td> |
|
20 |
<td align="right">[%- transaction.chart.accno -%]</td> |
|
21 |
<td>[%- transaction.chart.description -%]</td> |
|
22 |
<td align="right">[%- IF transaction.amount < 0 %] [%- LxERP.format_amount(transaction.amount * -1, 2) %] [% END %]</td> |
|
23 |
<td align="right">[%- IF transaction.amount > 0 %] [%- transaction.amount_as_number -%] [%- END -%]</td> |
|
24 |
</tr> |
|
25 |
[%- END %] |
|
26 |
<td colspan="2"></td> |
|
27 |
<td align="right"><b>[%- LxERP.t8("Total") %]:</b></td> |
|
28 |
<td align="right"><b>[%- LxERP.format_amount(debit_sum * -1, 2) %]</b></td> |
|
29 |
<td align="right"><b>[%- LxERP.format_amount(credit_sum, 2) %]</b></td> |
|
30 |
</tr> |
|
31 |
</tbody> |
|
32 |
</table> |
|
33 |
<div> |
templates/webpages/acc_trans/_mini_trial_balance.html | ||
---|---|---|
1 |
[% USE L %] [%- USE LxERP %] [%- USE HTML %] |
|
2 |
<div class="listtop">[%- HTML.escape(title) %]</div> |
|
3 |
|
|
4 |
<table id="balances"> |
|
5 |
<thead> |
|
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> |
|
11 |
</tr> |
|
12 |
</thead> |
|
13 |
|
|
14 |
<tbody> |
|
15 |
[%- FOREACH balance = BALANCES %] |
|
16 |
<tr class="listrow[% loop.count % 2 %]"> |
|
17 |
<td align="right">[%- balance.accno -%]</td> |
|
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> |
|
21 |
</tr> |
|
22 |
[%- END %] |
|
23 |
</tbody> |
|
24 |
</table> |
|
25 |
</div> |
Auch abrufbar als: Unified diff
HTML Templates für Buchungstab vergessen