Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3dfc0e1d

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 3dfc0e1d9e81229f47c47f057085f39f39811f65
  • Vorgänger 23300ebb
  • Nachfolger f0968f8d

Neues Design 2019 Standard-Code templates/webpages/am/list_account_details.html

Unterschiede anzeigen:

templates/webpages/am/list_account_details.html
1
<table width="100%">
2 1
[% USE T8 %]
3 2
[% USE HTML %]
4 3
<div class="taxkey-coa">
5 4
[% FOREACH row = CA %]
6 5

  
7
 <colgroup>
8
  <col width="10%">
9
  <col width="10%">
10
  <col width="10%">
11
  <col width="50%">
12
  <col width="10%">
13
  <col width="10%">
14
 </colgroup>
6
<div class="table">
7
  <div class="field">
8
    <span class="label"> [% 'Category' | $T8 %] </span>
9
    <span class="value wi-verywide"> [% HTML.escape(row.category) %] </span>
10
  </div>
11
<div class="field">
12
  <span class="label"> [% 'Linked to...' | $T8 %] </span>
13
  <span class="value wi-verywide"> [% IF row.link %][% HTML.escape(row.link).replace('\] \[', ']<br>[') %][% ELSE %]-[% END %] </span>
14
</div>
15
</div>
16
<!-- PENDENT: Klasse wo noch im Einsatz? -->
17
<div>
18
  <div class="col table">
19
    <div class="caption">
20
      [% 'Taxlink_coa' | $T8 %]
21
    </div>
22
    <div class="field">
23
      <span class="label"> [% 'Taxkey_coa' | $T8 %] </span>
24
      <span class="value"> [% IF row.taxkeys.size         %][% FOR taxkey         = row.taxkeys         %][% HTML.escape(taxkey)         %]<br>[% END %][% ELSE %]-[% END %] </span>
25
    </div>
26
    <div class="field">
27
      <span class="label"> [% 'Taxaccount_coa' | $T8 %] </span>
28
      <span class="value"> [% IF row.taxaccounts.size     %][% FOR taxaccount     = row.taxaccounts     %][% HTML.escape(taxaccount)     %]<br>[% END %][% ELSE %]-[% END %] </span>
29
    </div>
30
    <div class="field">
31
      <span class="label"> [% 'Taxdescription_coa' | $T8 %] </span>
32
      <span class="value"> [% IF row.taxdescriptions.size %][% FOR taxdescription = row.taxdescriptions %][% HTML.escape(taxdescription) %]<br>[% END %][% ELSE %]-[% END %] </span>
33
    </div>
34
    <div class="field">
35
      <span class="label"> [% 'Posustva_coa' | $T8 %] </span>
36
      <span class="value"> [% IF row.pos_ustvas.size      %][% FOR pos_ustva      = row.pos_ustvas      %][% HTML.escape(pos_ustva)      %]<br>[% END %][% ELSE %]-[% END %] </span>
37
    </div>
38
    <div class="field">
39
      <span class="label"> [% 'Starspanate_coa' | $T8 %] </span>
40
      <span class="value"> [% IF row.startdates.size      %][% FOR startdate      = row.startdates      %][% HTML.escape(startdate)      %]<br>[% END %][% ELSE %]-[% END %] </span>
41
    </div>
42
  </div>
43
  <div class="col table">
44
    <div class="caption">
45
      [% 'Report Positions' | $T8 %]
46
    </div>
47
    <div class="field">
48
      <span class="label"> [% 'pos_bwa' | $T8 %] </span>
49
      <span class="value"> [% IF row.pos_bwa %][% HTML.escape(row.pos_bwa) %][% ELSE %]-[% END %] </span>
50
    </div>
51
    <div class="field">
52
      <span class="label"> [% 'pos_bilanz' | $T8 %] </span>
53
      <span class="value"> [% IF row.pos_bilanz %][% HTML.escape(row.pos_bilanz) %][% ELSE %]-[% END %] </span>
54
    </div>
55
    <div class="field">
56
      <span class="label"> [% 'pos_eur' | $T8 %] </span>
57
      <span class="value"> [% IF row.pos_eur %][% HTML.escape(row.pos_eur) %][% ELSE %]-[% END %] </span>
58
    </div>
59
    <div class="field">
60
      <span class="label"> [% 'Datevautomatik' | $T8 %] </span>
61
      <span class="value"> [% IF row.datevautomatik %][% 'On' | $T8 %][% ELSE %][% 'Off' | $T8 %][% END %] </span>
62
    </div>
63
  </div>
64
</div>
15 65

  
16
 <tr class="coa_listrow[% loop.count % 2 %]">
17
  <td rowspan="8" class="coa_detail_emph">[% IF row.id %][% HTML.escape(row.id) %][% ELSE %]-[% END %]</td>
18
  <td colspan="5" class="coa_detail_emph">[% HTML.escape(row.category) %]&nbsp;</td>
19
 </tr>
20 66

  
21
 <tr class="coa_listrow[% loop.count % 2 %]">
22
  <td colspan="5" class="coa_detail_emph">
23
   [% IF row.link %][% HTML.escape(row.link) %][% ELSE %]-[% END %]
24
  </td>
25
 </tr>
26 67

  
27
 <tr class="coa_listrow[% loop.count % 2 %]">
28
  <td colspan="5" class="coa_details_header">[% 'Taxlink_coa' | $T8 %]</td>
29
 </tr>
30

  
31
 <tr class="coa_listrow[% loop.count % 2 %]">
32
  <td class="coa_details_header2">[% 'Taxkey_coa' | $T8 %]</td>
33
  <td class="coa_details_header2">[% 'Taxaccount_coa' | $T8 %]</td>
34
  <td class="coa_details_header2">[% 'Taxdescription_coa' | $T8 %]</td>
35
  <td class="coa_details_header2">[% 'Posustva_coa' | $T8 %]</td>
36
  <td class="coa_details_header2">[% 'Startdate_coa' | $T8 %]</td>
37
 </tr>
38

  
39
 <tr class="coa_listrow[% loop.count % 2 %]">
40
  <td class = "coa_detail_emph">[% IF row.taxkeys.size         %][% FOR taxkey         = row.taxkeys         %][% HTML.escape(taxkey)         %]<br>[% END %][% ELSE %]-[% END %]</td>
41
  <td class = "coa_detail_emph">[% IF row.taxaccounts.size     %][% FOR taxaccount     = row.taxaccounts     %][% HTML.escape(taxaccount)     %]<br>[% END %][% ELSE %]-[% END %]</td>
42
  <td class = "coa_detail_emph">[% IF row.taxdescriptions.size %][% FOR taxdescription = row.taxdescriptions %][% HTML.escape(taxdescription) %]<br>[% END %][% ELSE %]-[% END %]</td>
43
  <td class = "coa_detail_emph">[% IF row.pos_ustvas.size      %][% FOR pos_ustva      = row.pos_ustvas      %][% HTML.escape(pos_ustva)      %]<br>[% END %][% ELSE %]-[% END %]</td>
44
  <td class = "coa_detail_emph">[% IF row.startdates.size      %][% FOR startdate      = row.startdates      %][% HTML.escape(startdate)      %]<br>[% END %][% ELSE %]-[% END %]</td>
45
 </tr>
46

  
47
 <tr class="coa_listrow[% loop.count % 2 %]">
48
  <td colspan="5" class="coa_details_header">[% 'Report Positions' | $T8 %]</td>
49
 </tr>
50

  
51
 <tr class="coa_listrow[% loop.count % 2 %]">
52
  <td class="coa_details_header2">[% 'pos_bwa' | $T8 %]</td>
53
  <td class="coa_details_header2">[% 'pos_bilanz' | $T8 %]</td>
54
  <td class="coa_details_header2">[% 'pos_eur' | $T8 %]</td>
55
  <td colspan="2" class="coa_details_header2">[% 'Datevautomatik' | $T8 %]</td>
56
 </tr>
57

  
58
 <tr class="coa_listrow[% loop.count % 2 %]">
59
  <td class="coa_detail_emph">[% IF row.pos_bwa    %][% HTML.escape(row.pos_bwa)    %][% ELSE %]-[% END %]</td>
60
  <td class="coa_detail_emph">[% IF row.pos_bilanz %][% HTML.escape(row.pos_bilanz) %][% ELSE %]-[% END %]</td>
61
  <td class="coa_detail_emph">[% IF row.pos_eur    %][% HTML.escape(row.pos_eur)    %][% ELSE %]-[% END %]</td>
62
  <td colspan="2" class="coa_detail_emph">[% IF row.datevautomatik %][% 'On' | $T8 %][% ELSE %][% 'Off' | $T8 %][% END %]</td>
63
 </tr>
64
</table>
65 68

  
66 69
[% END %]
70
</div>

Auch abrufbar als: Unified diff