Revision 590d7780
Von Hans Peter Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/rp/html_report_susa.html | ||
---|---|---|
[% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
|
||
[% ELSE %]
|
||
<tr class="listrow[% row.outer_idx_odd %]">
|
||
[%- FOREACH col = row.COLUMNS %]
|
||
[% FOREACH col = row.COLUMNS %]
|
||
<td[% IF col.align %] align="[% col.align %]"[% END %]
|
||
[%- IF col.valign %] valign="[% col.valign %]"[%- END %]
|
||
[%- SET tdclass = '' %]
|
||
[%- IF row.BORDER_TOP %][%- SET tdclass = "$tdclass top_border" %][%- END %]
|
||
[%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
|
||
[%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
|
||
[%- IF tdclass %] class="[% tdclass %]"[%- END %]>
|
||
[%- IF col.raw_data %][%- col.raw_data %][%- END %]
|
||
[%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
|
||
[%- IF cell_row.data != '' %]
|
||
[%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
|
||
[%- cell_row.data %]
|
||
[%- IF cell_row.link %]</a>[%- END %]
|
||
[%- END %]
|
||
[%- UNLESS iterator.last %]<br>[%- END %]
|
||
[%- END %]
|
||
[% IF col.valign %] valign="[% col.valign %]"[% END %]
|
||
[% SET tdclass = '' %]
|
||
[% IF row.BORDER_TOP %][% SET tdclass = "$tdclass top_border" %][% END %]
|
||
[% IF row.BORDER_BOTTOM %][% SET tdclass = "$tdclass bottom_border" %][% END %]
|
||
[% IF col.class %][% SET tdclass = "$tdclass $col.class" %][% END %]
|
||
[% IF tdclass %] class="[% tdclass %]"[% END %]>
|
||
[% IF col.raw_data %][% col.raw_data %][% END %]
|
||
[% USE iterator(col.CELL_ROWS) %][% FOREACH cell_row = iterator %]
|
||
[% IF cell_row.data != '' %]
|
||
[% IF cell_row.link %]<a href="[% cell_row.link %]">[% END %]
|
||
[% cell_row.data %]
|
||
[% IF cell_row.link %]</a>[% END %]
|
||
[% END %]
|
||
[% UNLESS iterator.last %]<br>[% END %]
|
||
[% END %]
|
||
</td>
|
||
[%- END %]
|
||
[% END %]
|
||
</tr>
|
||
[% END %]
|
||
[% END %]
|
templates/webpages/rp/report.html | ||
---|---|---|
[% USE P %]
|
||
[% USE T8 %]
|
||
|
||
[%- BLOCK customized_report %]
|
||
[% BLOCK customized_report %]
|
||
<tr>
|
||
<th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th>
|
||
</tr>
|
||
... | ... | |
[% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %]
|
||
</td>
|
||
</tr>
|
||
[%- END %]
|
||
[%- BLOCK customer %]
|
||
[% END #BLOCK cash_or_accrual %]
|
||
[% BLOCK customer %]
|
||
<tr>
|
||
<th align=right nowrap>[% 'Customer' | $T8 %]</th>
|
||
<td colspan=3>[% P.customer_vendor.picker('customer_id', '', type='customer') %]</td>
|
||
</tr>
|
||
[%- END %]
|
||
[%- BLOCK projectnumber %]
|
||
[% END #BLOCK customer %]
|
||
[% BLOCK projectnumber %]
|
||
<tr>
|
||
<th align=right nowrap>[% 'Project' | $T8 %]</th>
|
||
<td colspan=3>[% P.project.picker('project_id', '', active="both", valid="both") %]</td>
|
templates/webpages/rp/tax_report.html | ||
---|---|---|
<tr class='[% class %]'>
|
||
[% FOREACH col IN column_index %]
|
||
<td class='[% class %] numeric'>
|
||
[%- SWITCH col %]
|
||
[%- CASE [ 'netamount', 'tax', 'amount' ] %][% LxERP.format_amount(row.$col, 2) %]
|
||
[%- CASE %] [% END %]
|
||
[% SWITCH col %]
|
||
[% CASE [ 'netamount', 'tax', 'amount' ] %][% LxERP.format_amount(row.$col, 2) %]
|
||
[% CASE %] [% END %]
|
||
</td>
|
||
[% END %]
|
||
</tr>
|
Auch abrufbar als: Unified diff
Design 4.0: Kosmetik in templates/webpages/rp/..: TT-Tags geändert