Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 77221586

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID 772215868a05b71992b8aba584e40d3cbd2b2020
  • Vorgänger 8c086dec
  • Nachfolger e52896a9

Auftrags-Controller: HTML-Template: Warnung vermeiden 'Argument "" isn't numeric…'

Unterschiede anzeigen:

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