Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f8b60f02

Von Cem Aydin vor fast 4 Jahren hinzugefügt

  • ID f8b60f0206f50c6881a3dff3dc2798c3fdcb55eb
  • Vorgänger dec1cfb9
  • Nachfolger 9c7c3afd

Neues Design Bugfix: #397 Bericht SuSa Template auf neues Design angepasst

- CSS Klassen sowie thead und tbody hinzugefügt, align entfernt
- Einrückungen korrigiert

Unterschiede anzeigen:

templates/webpages/rp/html_report_susa.html
3 3

  
4 4
<h1>[% 'Summen- und Saldenliste' | $T8 %] [% template_fromto %]</h1>
5 5

  
6
 <script type="text/javascript">
6
<script type="text/javascript">
7 7
  <!--
8 8
    function submit_report_generator_form(nextsub) {
9 9
      document.report_generator_form.report_generator_dispatch_to.value = nextsub;
10 10
      document.report_generator_form.submit();
11 11
    }
12
-->
13
 </script>
12
  -->
13
</script>
14 14

  
15

  
16

  
17
 [% IF MESSAGE %]
15
[% IF MESSAGE %]
18 16
  <p>[% MESSAGE %]</p>
19
 [% END %]
17
[% END %]
20 18

  
21
 [% IF TOP_INFO_TEXT %]
19
[% IF TOP_INFO_TEXT %]
22 20
  <p>[% TOP_INFO_TEXT %]</p>
23
 [% END %]
21
[% END %]
24 22

  
25
 [% RAW_TOP_INFO_TEXT %]
23
[% RAW_TOP_INFO_TEXT %]
26 24

  
27
 [% IF DATA_PRESENT %]
28
  <table width="100%">
29
   <tr>
30
     <th rowspan=2>[% 'Account' | $T8 %]</th>
31
     <th rowspan=2>[% 'Description' | $T8 %]</th>
32
     <th rowspan=2>[% 'Last Transaction' | $T8 %]</th>
33
     <th colspan=2>[% 'Starting Balance' | $T8 %]</th>
34
     <th colspan=2>[% 'Sum for' | $T8 %] [% template_fromto %]</th>
35
     <th colspan=2>[% 'Sum per' | $T8 %] [% template_to %]</th>
36
     <th colspan=2>[% 'Saldo per' | $T8 %] [% template_to %]</th>
37
   </tr>
38
   <tr>
39
    <th>[% 'Assets' | $T8 %]</th>
40
    <th>[% 'Equity' | $T8 %]</th>
41
    <th>[% 'Debit' | $T8 %]</th>
42
    <th>[% 'Credit' | $T8 %]</th>
43
    <th>[% 'Debit' | $T8 %]</th>
44
    <th>[% 'Credit' | $T8 %]</th>
45
    <th>[% 'Debit' | $T8 %]</th>
46
    <th>[% 'Credit' | $T8 %]</th>
47
   </tr>
48
   [% FOREACH row = ROWS %]
49
    [% IF row.IS_CONTROL %]
50
     [% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
51
     [% ELSE %]
52
     <tr class="listrow[% row.outer_idx_odd %]">
53
      [% FOREACH col = row.COLUMNS %]
54
      <td[% IF col.align %] align="[% col.align %]"[% END %]
55
         [% IF col.valign %] valign="[% col.valign %]"[% END %]
56
         [% SET tdclass = '' %]
57
         [% IF row.BORDER_TOP %][% SET tdclass = "$tdclass top_border" %][% END %]
58
         [% IF row.BORDER_BOTTOM %][% SET tdclass = "$tdclass bottom_border" %][% END %]
59
         [% IF col.class %][% SET tdclass = "$tdclass $col.class" %][% END %]
60
         [% IF tdclass %] class="[% tdclass %]"[% END %]>
61
       [% IF col.raw_data %][% col.raw_data %][% END %]
62
       [% USE iterator(col.CELL_ROWS) %][% FOREACH cell_row = iterator %]
63
        [% IF cell_row.data != '' %]
64
         [% IF cell_row.link %]<a href="[% cell_row.link %]">[% END %]
65
         [% cell_row.data %]
66
         [% IF cell_row.link %]</a>[% END %]
25
[% IF DATA_PRESENT %]
26
  <div class="horizontal-scroll-wrapper">
27
  <table class="tbl-list">
28
    <thead>
29
      <tr>
30
        <th rowspan=2>[% 'Account' | $T8 %]</th>
31
        <th rowspan=2>[% 'Description' | $T8 %]</th>
32
        <th rowspan=2>[% 'Last Transaction' | $T8 %]</th>
33
        <th colspan=2>[% 'Starting Balance' | $T8 %]</th>
34
        <th colspan=2>[% 'Sum for' | $T8 %] [% template_fromto %]</th>
35
        <th colspan=2>[% 'Sum per' | $T8 %] [% template_to %]</th>
36
        <th colspan=2>[% 'Saldo per' | $T8 %] [% template_to %]</th>
37
      </tr>
38
      <tr>
39
        <th>[% 'Assets' | $T8 %]</th>
40
        <th>[% 'Equity' | $T8 %]</th>
41
        <th>[% 'Debit' | $T8 %]</th>
42
        <th>[% 'Credit' | $T8 %]</th>
43
        <th>[% 'Debit' | $T8 %]</th>
44
        <th>[% 'Credit' | $T8 %]</th>
45
        <th>[% 'Debit' | $T8 %]</th>
46
        <th>[% 'Credit' | $T8 %]</th>
47
      </tr>
48
    </thead>
49
    <tbody>
50
    [% FOREACH row = ROWS %]
51
      [% IF row.IS_CONTROL %]
52
        [% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
53
      [% ELSE %]
54
        <tr class="listrow[% row.outer_idx_odd %]">
55
        [% FOREACH col = row.COLUMNS %]
56
          <td[% SET tdclass = '' %]
57
             [% IF col.align %][% SET tdclass = "right" %][% END %]
58
             [% IF row.BORDER_TOP %][% SET tdclass = "$tdclass top_border" %][% END %]
59
             [% IF row.BORDER_BOTTOM %][% SET tdclass = "$tdclass bottom_border" %][% END %]
60
             [% IF col.class %][% SET tdclass = "$tdclass $col.class" %][% END %]
61
             [% IF tdclass %] class="[% tdclass %]"[% END %]>
62
            [% IF col.raw_data %][% col.raw_data %][% END %]
63
            [% USE iterator(col.CELL_ROWS) %][% FOREACH cell_row = iterator %]
64
            [% IF cell_row.data != '' %]
65
              [% IF cell_row.link %]<a href="[% cell_row.link %]">[% END %]
66
                [% cell_row.data %]
67
                [% IF cell_row.link %]</a>[% END %]
68
              [% END %]
69
              [% UNLESS iterator.last %]<br>[% END %]
70
            [% END %]
71
          </td>
67 72
        [% END %]
68
       [% UNLESS iterator.last %]<br>[% END %]
69
       [% END %]
70
      </td>
73
        </tr>
71 74
      [% END %]
72
     </tr>
73 75
    [% END %]
74
   [% END %]
76
    </tbody>
75 77
  </table>
76
 [% ELSE %]
78
  </div><!-- /.horizontal-scroll-wrapper -->
79
[% ELSE %]
77 80
  <p class="message message_hint">[% 'No data was found.' | $T8 %]</p>
78
 [% END %]
81
[% END %]
79 82

  
80
 [% RAW_BOTTOM_INFO_TEXT %]
83
[% RAW_BOTTOM_INFO_TEXT %]
81 84

  
82
 [% IF BOTTOM_INFO_TEXT %]
85
[% IF BOTTOM_INFO_TEXT %]
83 86
  <p>[% BOTTOM_INFO_TEXT %]</p>
84
 [% END %]
87
[% END %]
85 88

  
86
 [% IF SHOW_EXPORT_BUTTONS %]
89
[% IF SHOW_EXPORT_BUTTONS %]
87 90
  <form action="[% HTML.escape(script) %]" name="report_generator_form" id="report_generator_form" method="post">
88
   [% FOREACH var = EXPORT_VARIABLES %]<input type="hidden" name="report_generator_hidden_[% var.key %]" value="[% HTML.escape(var.value) %]">
89
   [% END %]
90

  
91
   <input type="hidden" name="report_generator_nextsub" value="[% HTML.escape(EXPORT_NEXTSUB) %]">
92
   <input type="hidden" name="report_generator_variable_list" value="[% HTML.escape(EXPORT_VARIABLE_LIST) %]">
93
   <input type="hidden" name="report_generator_dispatch_to" value="">
94
   <input type="hidden" name="action" value="report_generator_dispatcher">
91
    [% FOREACH var = EXPORT_VARIABLES %]<input type="hidden" name="report_generator_hidden_[% var.key %]" value="[% HTML.escape(var.value) %]">[% END %]
92
    <input type="hidden" name="report_generator_nextsub" value="[% HTML.escape(EXPORT_NEXTSUB) %]">
93
    <input type="hidden" name="report_generator_variable_list" value="[% HTML.escape(EXPORT_VARIABLE_LIST) %]">
94
    <input type="hidden" name="report_generator_dispatch_to" value="">
95
    <input type="hidden" name="action" value="report_generator_dispatcher">
95 96
  </form>
96
 [% END %]
97
[% END %]

Auch abrufbar als: Unified diff