Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0bb247c0

Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt

  • ID 0bb247c02cddb46b3bba12312e39bb4625200022
  • Vorgänger f77fac58
  • Nachfolger d394a688

Neues Design 2019 Standard-Code templates/webpages/acc_trans/_mini_trial_balance.html

Unterschiede anzeigen:

templates/webpages/acc_trans/_mini_trial_balance.html
[% USE L %]
[% USE LxERP %]
[% USE HTML %]
<div class="listtop">[%- HTML.escape(title) %]</div>
<table id="balances">
<div class="wrapper">
<table id="balances" class="tbl-list">
<caption>[% HTML.escape(title) %]</caption>
<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>
<tr>
<th class="numeric-centered">[% LxERP.t8("Chart") %]</th>
<th>[% LxERP.t8("Description") %]</th>
<th class="right">[% LxERP.t8("Debit") %]</th>
<th class="right">[% 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 %]
[% FOREACH balance = BALANCES %]
<tr>
<td class="numeric-centered">[% balance.accno %]</td>
<td>[% balance.description %]</td>
<td class="numeric">[% IF balance.balance < 0 %] [% LxERP.format_amount(balance.balance * -1, 2) %] [% END %]</td>
<td class="numeric">[% IF balance.balance > 0 %] [% LxERP.format_amount(balance.balance, 2) %] [% END %]</td>
</tr>
[% END %]
</tbody>
</table>
</table>
</div><!-- /.wrapper -->
</div>

Auch abrufbar als: Unified diff