Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ac203171

Von Kivitendo Admin vor mehr als 10 Jahren hinzugefügt

  • ID ac203171fe03d98717f467382ef5858ed4534a6b
  • Vorgänger 445c84a3
  • Nachfolger d08148b9

HTML Templates für Buchungstab vergessen

Unterschiede anzeigen:

templates/webpages/acc_trans/_mini_ledger.html
[% USE L %] [%- USE LxERP %] [%- USE HTML %]
<div class="listtop">[%- HTML.escape(title) %]</div>
<div style="padding-bottom: 15px">
<table id="acc_trans">
<thead>
<tr>
<th class="listheading">[%- LxERP.t8("Date") %]</th>
<th class="listheading">[%- LxERP.t8("Chart") %]</th>
<th class="listheading">[%- LxERP.t8("Description") %]</th>
<th class="listheading">[%- LxERP.t8("Debit") %]</th>
<th class="listheading">[%- LxERP.t8("Credit") %]</th>
</tr>
</thead>
<tbody>
[%- FOREACH transaction = TRANSACTIONS %]
<tr class="listrow[% loop.count % 2 %]">
<td>[%- transaction.gldate.to_kivitendo -%]</td>
<td align="right">[%- transaction.chart.accno -%]</td>
<td>[%- transaction.chart.description -%]</td>
<td align="right">[%- IF transaction.amount < 0 %] [%- LxERP.format_amount(transaction.amount * -1, 2) %] [% END %]</td>
<td align="right">[%- IF transaction.amount > 0 %] [%- transaction.amount_as_number -%] [%- END -%]</td>
</tr>
[%- END %]
<td colspan="2"></td>
<td align="right"><b>[%- LxERP.t8("Total") %]:</b></td>
<td align="right"><b>[%- LxERP.format_amount(debit_sum * -1, 2) %]</b></td>
<td align="right"><b>[%- LxERP.format_amount(credit_sum, 2) %]</b></td>
</tr>
</tbody>
</table>
<div>
templates/webpages/acc_trans/_mini_trial_balance.html
[% USE L %] [%- USE LxERP %] [%- USE HTML %]
<div class="listtop">[%- HTML.escape(title) %]</div>
<table id="balances">
<thead>
<tr>
<th class="listheading">[%- LxERP.t8("Chart") %]</th>
<th class="listheading">[%- LxERP.t8("Description") %]</th>
<th class="listheading">[%- LxERP.t8("Debit") %]</th>
<th class="listheading">[%- LxERP.t8("Credit") %]</th>
</tr>
</thead>
<tbody>
[%- FOREACH balance = BALANCES %]
<tr class="listrow[% loop.count % 2 %]">
<td align="right">[%- balance.accno -%]</td>
<td>[%- balance.description -%]</td>
<td align="right">[%- IF balance.balance < 0 %] [%- LxERP.format_amount(balance.balance * -1, 2) %] [% END %]</td>
<td align="right">[%- IF balance.balance > 0 %] [%- LxERP.format_amount(balance.balance, 2) %] [%- END -%]</td>
</tr>
[%- END %]
</tbody>
</table>
</div>

Auch abrufbar als: Unified diff