Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4f499313

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 4f4993131ef0389b9dd6832b8ba068944ccf2f45
  • Vorgänger e39e0b83
  • Nachfolger be74820d

Neues Design 2019 Standard-Code templates/webpages/order/tabs/_business_info_row.html

Unterschiede anzeigen:

templates/webpages/order/tabs/_business_info_row.html
1 1
[% USE T8 %]
2 2
[% USE HTML %]
3 3

  
4
<tr id='business_info_row' [%- IF !SELF.order.customervendor.business_id %]style='display:none'[%- END %]>
5
  <th align="right">[%- IF SELF.cv == 'customer' -%]
6
                      [%- 'Customer type' | $T8 -%]
7
                    [%- ELSE -%]
8
                      [%- 'Vendor type' | $T8 -%]
9
                    [%- END -%]</th>
10
  <td>[% HTML.escape(SELF.order.customervendor.business.description) %]; [% 'Trade Discount' | $T8 %] [% SELF.order.customervendor.business.discount_as_percent %] %</td>
4
<tr id='business_info_row' [% IF !SELF.order.customervendor.business_id %]style='display:none'[% END %]>
5
  <th>
6
    [% IF SELF.cv == 'customer' %]
7
      [% 'Customer type' | $T8 %]
8
    [% ELSE %]
9
      [% 'Vendor type' | $T8 %]
10
    [% END %]
11
  </th>
12
  <td><span class="plain-data wi-lightwide">[% HTML.escape(SELF.order.customervendor.business.description) %] ([% 'Trade Discount' | $T8 %] [% SELF.order.customervendor.business.discount_as_percent %]%)</span></td>
11 13
</tr>

Auch abrufbar als: Unified diff