Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 11a74f78

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

  • ID 11a74f780e101fa3141939380f4577f9e282a9d6
  • Vorgänger 131fa8ce
  • Nachfolger 54d4bfaa

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