Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 72e9ee11

Von Andreas Rudin vor mehr als 1 Jahr hinzugefügt

Design40: Anrede in Kunden-/Lieferantenmaske korrigiert

Unterschiede anzeigen:

templates/design40_webpages/customer_vendor/tabs/billing.html
18 18
  <caption>[% 'Name and Address' | $T8 %]</caption>
19 19
  <colgroup><col class="wi-small"><col class="wi-lightwide"></colgroup>
20 20
  <tbody>
21
    <tr>
22
      <th>[% 'Greeting' | $T8 %]</th>
23
      <td>
24
        [% IF INSTANCE_CONF.get_vc_greetings_use_textfield %]
25
          [% L.input_tag('cv.greeting', SELF.cv.greeting, class='wi-mediumsmall') %]
26
          [% L.select_tag('cv_greeting_select', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#cv_greeting").val(this.value);', class='wi-small addition') %]
27
        [% ELSE %]
28
          [% L.select_tag('cv.greeting', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1, class='wi-lightwide') %]
29
        [% END %]
30
      </td>
31
    </tr>
21 32
    <tr>
22 33
      <th>[% IF SELF.is_vendor() %] [% 'Vendor Name' | $T8 %] [% ELSE %] [% 'Customer Name' | $T8 %] [% END %]</th>
23 34
      <td>[% L.input_tag('cv.name', SELF.cv.name, type='text', class='wi-lightwide') %]</td>
......
58 69
      <th>[% 'GLN' | $T8 %]</th>
59 70
      <td>[% L.input_tag('cv.gln', SELF.cv.gln, class='wi-lightwide') %]</td>
60 71
    </tr>
61
    <tr>
62
      <th>[% 'Greeting' | $T8 %]</th>
63
      <td>
64
        [% IF INSTANCE_CONF.get_vc_greetings_use_textfield %]
65
          [% L.input_tag('cv.greeting', SELF.cv.greeting, class='wi-lightwide') %]<br>
66
          [% L.select_tag('cv_greeting_select', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#cv_greeting").val(this.value);', class='wi-lightwide addition') %]
67
        [% ELSE %]
68
          [% L.select_tag('cv.greeting', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1, class='wi-lightwide') %]
69
        [% END %]
70
    </tr>
71 72
  </tbody>
72 73
</table>
73 74

  

Auch abrufbar als: Unified diff