Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c5ebebfb

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID c5ebebfb651bfb0ce43b2aaa2aab64223037b1a8
  • Vorgänger 73e09e8b
  • Nachfolger 1440377b

Neues kivitendo Design Aenderungen in templates/webpages/acc*

Dateien in acc_trans/* und acctranscorrections/*

Unterschiede anzeigen:

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

  
4
<div style="padding-bottom: 15px">
5
 <table id="acc_trans">
5
<div class="wrapper">
6

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

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

  
38
</div><!-- /.wrapper -->
39

  

Auch abrufbar als: Unified diff