Revision 77221586
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
templates/design40_webpages/order/tabs/basic_data.html | ||
---|---|---|
[% END %]
|
||
<tr id="amount_row_id">
|
||
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") -%]
|
||
[%- SET marge_class = (SELF.order.marge_total < 0) ? 'plus0' : '' -%]
|
||
[%- SET marge_class = ((SELF.order.marge_total || 0) < 0) ? 'plus0' : '' -%]
|
||
<th colspan="2">[% 'Ertrag' | $T8 %]</th>
|
||
<td colspan="2" class="numeric">[%- L.div_tag(SELF.order.marge_total_as_number, id='marge_total_id', class=marge_class) %]</td>
|
||
<th colspan="2">[% 'Ertrag prozentual' | $T8 %]</th>
|
templates/webpages/order/tabs/basic_data.html | ||
---|---|---|
</td>
|
||
|
||
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") -%]
|
||
[%- SET marge_class = (SELF.order.marge_total < 0) ? 'plus0' : '' -%]
|
||
[%- SET marge_class = ((SELF.order.marge_total || 0) < 0) ? 'plus0' : '' -%]
|
||
<td>
|
||
<table>
|
||
<tr>
|
Auch abrufbar als: Unified diff
Auftrags-Controller: HTML-Template: Warnung vermeiden 'Argument "" isn't numeric…'