Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a85900cb

Von Hans Peter Schlaepfer vor etwa 6 Jahren hinzugefügt

  • ID a85900cb68a578d89090043534ae79664a4070a9
  • Vorgänger 72c4037d
  • Nachfolger e7c11f83

Preview design 4.0

Unterschiede anzeigen:

templates/webpages/acc_trans/_mini_ledger.html
1 1
[% USE L %] [%- USE LxERP %] [%- USE HTML %]
2
<div class="listtop">[%- HTML.escape(title) %]</div>
3 2

  
4
<div style="padding-bottom: 15px">
5
 <table id="acc_trans">
3
 <table id="acc_trans" class="tbl-list">
4
  <caption>[%- HTML.escape(title) %]</caption>
6 5
  <thead>
7 6
   <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>
7
    <th class="date">[%- LxERP.t8("Date") %]</th>
8
    <th class="center">[%- LxERP.t8("Chart") %]</th>
9
    <th>[%- LxERP.t8("Description") %]</th>
10
    <th class="right">[%- LxERP.t8("Debit") %]</th>
11
    <th class="right">[%- LxERP.t8("Credit") %]</th>
13 12
   </tr>
14 13
  </thead>
15 14

  
16 15
  <tbody>
17 16
   [%- FOREACH transaction = TRANSACTIONS %]
18
   <tr class="listrow[% loop.count % 2 %]">
19
    <td>[%- transaction.transdate.to_kivitendo -%]</td>
20
    <td align="right">[%- transaction.chart.accno -%]</td>
17
   <tr>
18
    <td class="date">[%- transaction.transdate.to_kivitendo -%]</td>
19
    <td class="center">[%- transaction.chart.accno -%]</td>
21 20
    <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 %] [%- LxERP.format_amount(transaction.amount     , 2) %] [%- END -%]</td>
21
    <td class="numeric">[%- IF transaction.amount < 0 %] [%- LxERP.format_amount(transaction.amount * -1, 2) %] [% END %]</td>
22
    <td class="numeric">[%- IF transaction.amount > 0 %] [%- LxERP.format_amount(transaction.amount     , 2) %] [%- END -%]</td>
24 23
   </tr>
25 24
   [%- 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>
25
    </tbody>
26
    <tfoot>
27
      <td colspan="2"></td>
28
      <th>[%- LxERP.t8("Total") %]</th>
29
      <td class="numeric">[%- LxERP.format_amount(debit_sum * -1, 2) %]</td>
30
      <td class="numeric">[%- LxERP.format_amount(credit_sum, 2) %]</td>
30 31
   </tr>
31
  </tbody>
32
   </tfoot>
32 33
 </table>
33
 <div>

Auch abrufbar als: Unified diff