Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 590d7780

Von Hans Peter Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 590d7780550161d9497b1bd7c6a6ddbbd5e5abee
  • Vorgänger 14670dfe
  • Nachfolger 7285c318

Design 4.0: Kosmetik in templates/webpages/rp/..: TT-Tags geändert

Unterschiede anzeigen:

templates/webpages/rp/html_report_susa.html
61 61
     [% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
62 62
     [% ELSE %]
63 63
     <tr class="listrow[% row.outer_idx_odd %]">
64
      [%- FOREACH col = row.COLUMNS %]
64
      [% FOREACH col = row.COLUMNS %]
65 65
      <td[% IF col.align %] align="[% col.align %]"[% END %]
66
         [%- IF col.valign %] valign="[% col.valign %]"[%- END %]
67
         [%- SET tdclass = '' %]
68
         [%- IF row.BORDER_TOP %][%- SET tdclass = "$tdclass top_border" %][%- END %]
69
         [%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
70
         [%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
71
         [%- IF tdclass %] class="[% tdclass %]"[%- END %]>
72
       [%- IF col.raw_data %][%- col.raw_data %][%- END %]
73
       [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
74
        [%- IF cell_row.data != '' %]
75
         [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
76
         [%- cell_row.data %]
77
         [%- IF cell_row.link %]</a>[%- END %]
78
        [%- END %]
79
       [%- UNLESS iterator.last %]<br>[%- END %]
80
       [%- END %]
66
         [% IF col.valign %] valign="[% col.valign %]"[% END %]
67
         [% SET tdclass = '' %]
68
         [% IF row.BORDER_TOP %][% SET tdclass = "$tdclass top_border" %][% END %]
69
         [% IF row.BORDER_BOTTOM %][% SET tdclass = "$tdclass bottom_border" %][% END %]
70
         [% IF col.class %][% SET tdclass = "$tdclass $col.class" %][% END %]
71
         [% IF tdclass %] class="[% tdclass %]"[% END %]>
72
       [% IF col.raw_data %][% col.raw_data %][% END %]
73
       [% USE iterator(col.CELL_ROWS) %][% FOREACH cell_row = iterator %]
74
        [% IF cell_row.data != '' %]
75
         [% IF cell_row.link %]<a href="[% cell_row.link %]">[% END %]
76
         [% cell_row.data %]
77
         [% IF cell_row.link %]</a>[% END %]
78
        [% END %]
79
       [% UNLESS iterator.last %]<br>[% END %]
80
       [% END %]
81 81
      </td>
82
      [%- END %]
82
      [% END %]
83 83
     </tr>
84 84
    [% END %]
85 85
   [% END %]
templates/webpages/rp/report.html
4 4
[% USE P %]
5 5
[% USE T8 %]
6 6

  
7
[%- BLOCK customized_report %]
7
[% BLOCK customized_report %]
8 8
  <tr>
9 9
    <th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th>
10 10
  </tr>
......
103 103
      [% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %]
104 104
    </td>
105 105
  </tr>
106
[%- END %]
107
[%- BLOCK customer %]
106
[% END   #BLOCK cash_or_accrual %]
107
[% BLOCK customer %]
108 108
  <tr>
109 109
    <th align=right nowrap>[% 'Customer' | $T8 %]</th>
110 110
    <td colspan=3>[% P.customer_vendor.picker('customer_id', '', type='customer') %]</td>
111 111
  </tr>
112
[%- END %]
113
[%- BLOCK projectnumber %]
112
[% END   #BLOCK customer %]
113
[% BLOCK projectnumber %]
114 114
  <tr>
115 115
    <th align=right nowrap>[% 'Project' | $T8 %]</th>
116 116
    <td colspan=3>[% P.project.picker('project_id', '', active="both", valid="both") %]</td>
templates/webpages/rp/tax_report.html
7 7
  <tr class='[% class %]'>
8 8
  [% FOREACH col IN column_index %]
9 9
    <td class='[% class %] numeric'>
10
      [%- SWITCH col %]
11
      [%- CASE [ 'netamount', 'tax', 'amount' ] %][% LxERP.format_amount(row.$col, 2) %]
12
      [%- CASE %]&nbsp;[% END %]
10
      [% SWITCH col %]
11
      [% CASE [ 'netamount', 'tax', 'amount' ] %][% LxERP.format_amount(row.$col, 2) %]
12
      [% CASE %]&nbsp;[% END %]
13 13
    </td>
14 14
  [% END %]
15 15
  </tr>

Auch abrufbar als: Unified diff