Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 646042f6

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID 646042f61e588254230b2cfcfa015c7220b25898
  • Vorgänger f89df736

Customer/Vendor: entferne Leerzeichen um Eingabe bei Standardfeldern

Unterschiede anzeigen:

templates/design40_webpages/customer_vendor/tabs/additional_billing_addresses.html
32 32
    <tbody>
33 33
      <tr>
34 34
        <th>[% 'Name' | $T8 %]</th>
35
        <td>[% L.input_tag('additional_billing_address.name', SELF.additional_billing_address.name, class="wi-wide") %]</td>
35
        <td>[% L.input_tag_trim('additional_billing_address.name', SELF.additional_billing_address.name, class="wi-wide") %]</td>
36 36
      </tr>
37 37
      <tr>
38 38
        <th>[% 'Department' | $T8 %]</th>
39 39
        <td>
40
          [% L.input_tag('additional_billing_address.department_1', SELF.additional_billing_address.department_1, class="wi-wide") %]<br>
41
          [% L.input_tag('additional_billing_address.department_2', SELF.additional_billing_address.department_2, class="wi-wide addition") %]
40
          [% L.input_tag_trim('additional_billing_address.department_1', SELF.additional_billing_address.department_1, class="wi-wide") %]<br>
41
          [% L.input_tag_trim('additional_billing_address.department_2', SELF.additional_billing_address.department_2, class="wi-wide addition") %]
42 42
        </td>
43 43
      </tr>
44 44
      <tr>
45 45
        <th>[% 'Street' | $T8 %]</th>
46 46
        <td>
47
          [% L.input_tag('additional_billing_address.street', SELF.additional_billing_address.street, class="wi-wide") %]
47
          [% L.input_tag_trim('additional_billing_address.street', SELF.additional_billing_address.street, class="wi-wide") %]
48 48

  
49 49
          <span id="additional_billing_address_map"></span>
50 50
          <script type="text/javascript">
......
58 58
      <tr>
59 59
        <th>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
60 60
        <td>
61
          [% L.input_tag('additional_billing_address.zipcode', SELF.additional_billing_address.zipcode, class="wi-verysmall") %][% L.input_tag('additional_billing_address.city', SELF.additional_billing_address.city, class="wi-wide--verysmall") %]
61
          [% L.input_tag_trim('additional_billing_address.zipcode', SELF.additional_billing_address.zipcode, class="wi-verysmall") %][% L.input_tag_trim('additional_billing_address.city', SELF.additional_billing_address.city, class="wi-wide--verysmall") %]
62 62
        </td>
63 63
      </tr>
64 64
      <tr>
65 65
        <th>[% 'Country' | $T8 %]</th>
66
        <td>[% L.input_tag('additional_billing_address.country', SELF.additional_billing_address.country, class="wi-wide") %]</td>
66
        <td>[% L.input_tag_trim('additional_billing_address.country', SELF.additional_billing_address.country, class="wi-wide") %]</td>
67 67
      </tr>
68 68
      <tr>
69 69
        <th>[% 'GLN' | $T8 %]</th>
70
        <td>[% L.input_tag('additional_billing_address.gln', SELF.additional_billing_address.gln, class="wi-wide") %]</td>
70
        <td>[% L.input_tag_trim('additional_billing_address.gln', SELF.additional_billing_address.gln, class="wi-wide") %]</td>
71 71
      </tr>
72 72
    </tbody>
73 73
  </table>
......
77 77
    <tbody>
78 78
      <tr>
79 79
        <th>[% 'Contact' | $T8 %]</th>
80
        <td>[% L.input_tag('additional_billing_address.contact', SELF.additional_billing_address.contact, class="wi-wide") %]</td>
80
        <td>[% L.input_tag_trim('additional_billing_address.contact', SELF.additional_billing_address.contact, class="wi-wide") %]</td>
81 81
      </tr>
82 82
      <tr>
83 83
        <th>[% 'Phone' | $T8 %]</th>
84
        <td>[% L.input_tag('additional_billing_address.phone', SELF.additional_billing_address.phone, class="wi-wide") %]</td>
84
        <td>[% L.input_tag_trim('additional_billing_address.phone', SELF.additional_billing_address.phone, class="wi-wide") %]</td>
85 85
      </tr>
86 86
      <tr>
87 87
        <th>[% 'Fax' | $T8 %]</th>
88
        <td>[% L.input_tag('additional_billing_address.fax', SELF.additional_billing_address.fax, class="wi-wide") %]</td>
88
        <td>[% L.input_tag_trim('additional_billing_address.fax', SELF.additional_billing_address.fax, class="wi-wide") %]</td>
89 89
      </tr>
90 90
      <tr>
91 91
        <th>[% 'E-mail' | $T8 %]</th>
92
        <td>[% L.input_tag('additional_billing_address.email', SELF.additional_billing_address.email, class="wi-wide") %]</td>
92
        <td>[% L.input_tag_trim('additional_billing_address.email', SELF.additional_billing_address.email, class="wi-wide") %]</td>
93 93
      </tr>
94 94
    </tbody>
95 95
  </table>
......
106 106
    $('#action_delete_additional_billing_address').hide();
107 107
  </script>
108 108
[% END %]
109
</div>
109
</div>
templates/design40_webpages/customer_vendor/tabs/bank.html
10 10
      <tbody>
11 11
        <tr>
12 12
          <th>[% 'Owner of account' | $T8 %]</th>
13
          <td>[% L.input_tag('cv.depositor', SELF.cv.depositor, class="wi-wide") %]</td>
13
          <td>[% L.input_tag_trim('cv.depositor', SELF.cv.depositor, class="wi-wide") %]</td>
14 14
        </tr>
15 15
        <tr>
16 16
          <th>[% 'IBAN' | $T8 %]</th>
17
          <td>[% L.input_tag('cv.iban', SELF.cv.iban, class="wi-wide") %]</td>
17
          <td>[% L.input_tag_trim('cv.iban', SELF.cv.iban, class="wi-wide") %]</td>
18 18
        </tr>
19 19
        <tr>
20 20
          <th>[% 'Account Number' | $T8 %]</th>
21
          <td>[% L.input_tag('cv.account_number', SELF.cv.account_number, class="wi-wide") %]</td>
21
          <td>[% L.input_tag_trim('cv.account_number', SELF.cv.account_number, class="wi-wide") %]</td>
22 22
        </tr>
23 23
      </tbody>
24 24
    </table>
......
27 27
      <tbody>
28 28
        <tr>
29 29
          <th>[% 'Bank' | $T8 %]</th>
30
          <td>[% L.input_tag('cv.bank', SELF.cv.bank, class="wi-normal") %]</td>
30
          <td>[% L.input_tag_trim('cv.bank', SELF.cv.bank, class="wi-normal") %]</td>
31 31
        </tr>
32 32
        <tr>
33 33
          <th>[% 'BIC' | $T8 %]</th>
34
          <td>[% L.input_tag('cv.bic', SELF.cv.bic, class="wi-normal") %]</td>
34
          <td>[% L.input_tag_trim('cv.bic', SELF.cv.bic, class="wi-normal") %]</td>
35 35
        </tr>
36 36
        <tr>
37 37
          <th>[% 'Bank Code Number' | $T8 %]</th>
38
          <td>[% L.input_tag('cv.bank_code', SELF.cv.bank_code, class="wi-normal") %]</td>
38
          <td>[% L.input_tag_trim('cv.bank_code', SELF.cv.bank_code, class="wi-normal") %]</td>
39 39
        </tr>
40 40
      </tbody>
41 41
    </table>
......
45 45
      <tbody>
46 46
        <tr>
47 47
          <th>[% 'Mandator ID' | $T8 %]</th>
48
          <td>[% L.input_tag('cv.mandator_id', SELF.cv.mandator_id, class="wi-normal") %]</td>
48
          <td>[% L.input_tag_trim('cv.mandator_id', SELF.cv.mandator_id, class="wi-normal") %]</td>
49 49
        </tr>
50 50
        <tr>
51 51
          <th>[% 'Mandate Date of Signature' | $T8 %]</th>
templates/design40_webpages/customer_vendor/tabs/billing.html
22 22
      <th>[% 'Greeting' | $T8 %]</th>
23 23
      <td>
24 24
        [% IF INSTANCE_CONF.get_vc_greetings_use_textfield %]
25
          [% L.input_tag('cv.greeting', SELF.cv.greeting, class='wi-mediumsmall') %]
25
          [% L.input_tag_trim('cv.greeting', SELF.cv.greeting, class='wi-mediumsmall') %]
26 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 27
        [% ELSE %]
28 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') %]
......
31 31
    </tr>
32 32
    <tr>
33 33
      <th>[% IF SELF.is_vendor() %] [% 'Vendor Name' | $T8 %] [% ELSE %] [% 'Customer Name' | $T8 %] [% END %]</th>
34
      <td>[% L.input_tag('cv.name', SELF.cv.name, type='text', class='wi-lightwide') %]</td>
34
      <td>[% L.input_tag_trim('cv.name', SELF.cv.name, type='text', class='wi-lightwide') %]</td>
35 35
    </tr>
36 36
    <tr>
37 37
      <th><label for="cv_natural_person">[% 'natural person' | $T8 %]</label></th>
......
40 40
    <tr>
41 41
      <th>[% 'Department' | $T8 %]</th>
42 42
      <td>
43
        [% L.input_tag('cv.department_1', SELF.cv.department_1, class='wi-lightwide') %]<br>
44
        [% L.input_tag('cv.department_2', SELF.cv.department_2, class='wi-lightwide addition') %]
43
        [% L.input_tag_trim('cv.department_1', SELF.cv.department_1, class='wi-lightwide') %]<br>
44
        [% L.input_tag_trim('cv.department_2', SELF.cv.department_2, class='wi-lightwide addition') %]
45 45
      <br>
46 46
      </td>
47 47
    </tr>
48 48
    <tr>
49 49
      <th>[% 'Street' | $T8 %]</th>
50 50
      <td>
51
        [% L.input_tag('cv.street', SELF.cv.street, class='wi-lightwide') %]<button id="billing_map" type="button" class="icon"></button>
51
        [% L.input_tag_trim('cv.street', SELF.cv.street, class='wi-lightwide') %]<button id="billing_map" type="button" class="icon"></button>
52 52
        <script type="text/javascript">
53 53
          billingMapWidget = new kivi.CustomerVendor.MapWidget('cv_', '[% JavaScript.escape(SELF.home_address_for_google_maps) %]');
54 54
          $(function() {
......
59 59
    </tr>
60 60
    <tr>
61 61
      <th>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
62
      <td>[% L.input_tag('cv.zipcode', SELF.cv.zipcode, class='wi-verysmall') %][% L.input_tag('cv.city', SELF.cv.city, class='wi-small', class='wi-lightwide--verysmall') %]</td>
62
      <td>[% L.input_tag_trim('cv.zipcode', SELF.cv.zipcode, class='wi-verysmall') %][% L.input_tag_trim('cv.city', SELF.cv.city, class='wi-small', class='wi-lightwide--verysmall') %]</td>
63 63
    </tr>
64 64
    <tr>
65 65
      <th>[% 'Country' | $T8 %]</th>
66
      <td>[% L.input_tag('cv.country', SELF.cv.country, class='wi-lightwide') %]</td>
66
      <td>[% L.input_tag_trim('cv.country', SELF.cv.country, class='wi-lightwide') %]</td>
67 67
    </tr>
68 68
    <tr>
69 69
      <th>[% 'GLN' | $T8 %]</th>
70
      <td>[% L.input_tag('cv.gln', SELF.cv.gln, class='wi-lightwide') %]</td>
70
      <td>[% L.input_tag_trim('cv.gln', SELF.cv.gln, class='wi-lightwide') %]</td>
71 71
    </tr>
72 72
  </tbody>
73 73
</table>
......
78 78
  <tbody>
79 79
    <tr>
80 80
      <th>[% 'Contact' | $T8 %]</th>
81
      <td>[% L.input_tag('cv.contact', SELF.cv.contact, class='wi-lightwide') %]</td>
81
      <td>[% L.input_tag_trim('cv.contact', SELF.cv.contact, class='wi-lightwide') %]</td>
82 82
    </tr>
83 83
    <tr>
84 84
      <th>[% 'Phone' | $T8 %]</th>
85
      <td>[% L.input_tag('cv.phone', SELF.cv.phone, class='wi-lightwide') %]</td>
85
      <td>[% L.input_tag_trim('cv.phone', SELF.cv.phone, class='wi-lightwide') %]</td>
86 86
    </tr>
87 87
    <tr>
88 88
      <th>[% 'Fax' | $T8 %]</th>
89
      <td>[% L.input_tag('cv.fax', SELF.cv.fax, class='wi-lightwide') %]</td>
89
      <td>[% L.input_tag_trim('cv.fax', SELF.cv.fax, class='wi-lightwide') %]</td>
90 90
    </tr>
91 91
    <tr>
92 92
      <th>[% IF SELF.cv.email %]<a href="mailto:[% SELF.cv.email %]">[% END %][% 'E-mail' | $T8 %][% IF SELF.cv.email %]</a>[% END %]</th>
93
      <td>[% L.input_tag('cv.email', SELF.cv.email, class='wi-lightwide') %]</td>
93
      <td>[% L.input_tag_trim('cv.email', SELF.cv.email, class='wi-lightwide') %]</td>
94 94
    </tr>
95 95
    <tr>
96 96
      <th>[% IF SELF.cv.cc %]<a href="mailto:[% SELF.cv.cc %]">[% END %][% 'Cc E-mail' | $T8 %][% IF SELF.cv.cc %]</a>[% END %]</th>
97
      <td>[% L.input_tag('cv.cc', SELF.cv.cc, class='wi-lightwide') %]</td>
97
      <td>[% L.input_tag_trim('cv.cc', SELF.cv.cc, class='wi-lightwide') %]</td>
98 98
    </tr>
99 99
    <tr>
100 100
      <th>[% IF SELF.cv.bcc %]<a href="mailto:[% SELF.cv.bcc %]">[% END %][% 'Bcc E-mail' | $T8 %][% IF SELF.cv.bcc %]</a>[% END %]</th>
101
      <td>[% L.input_tag('cv.bcc', SELF.cv.bcc, class='wi-lightwide') %]</td>
101
      <td>[% L.input_tag_trim('cv.bcc', SELF.cv.bcc, class='wi-lightwide') %]</td>
102 102
    </tr>
103 103
    <tr><!-- PENDENT: Funktion der Link-Erzeugung verbessern, z.B. falls z.B. Schema (http:// oder https://) schon angegeben -->
104 104
      <th>[% IF SELF.cv.homepage %]<a href="http://[% HTML.escape(SELF.cv.homepage) %]" title="[% 'Open in new window' | $T8 %]" target="_blank">[% 'Homepage' | $T8 %]</a>[% ELSE %][% 'Homepage' | $T8 %][% END %]</th>
105
      <td>[% L.input_tag('cv.homepage', SELF.cv.homepage, class='wi-lightwide', title = LxERP.t8('Example: http://kivitendo.de')) %]</td>
105
      <td>[% L.input_tag_trim('cv.homepage', SELF.cv.homepage, class='wi-lightwide', title = LxERP.t8('Example: http://kivitendo.de')) %]</td>
106 106
    </tr>
107 107

  
108 108
    [% IF ( SELF.is_customer() ) %]
109 109
    <tr>
110 110
      <th>[% 'Email of the invoice recipient' | $T8 %]</th>
111
      <td>[% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, class='wi-lightwide') %]</td>
111
      <td>[% L.input_tag_trim('cv.invoice_mail', SELF.cv.invoice_mail, class='wi-lightwide') %]</td>
112 112
    </tr>
113 113
    <tr>
114 114
      <th>[% 'Email of the delivery order recipient' | $T8 %]</th>
115
      <td>[% L.input_tag('cv.delivery_order_mail', SELF.cv.delivery_order_mail, class='wi-lightwide') %]</td>
115
      <td>[% L.input_tag_trim('cv.delivery_order_mail', SELF.cv.delivery_order_mail, class='wi-lightwide') %]</td>
116 116
    </tr>
117 117
    [% END %]
118 118
    [% IF ( SELF.is_customer() ) %]
......
124 124
    [% IF ( SELF.is_customer() ) %]
125 125
    <tr>
126 126
      <th>[% 'Commercial court' | $T8 %]</th>
127
      <td>[% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, class='wi-lightwide') %] </td>
127
      <td>[% L.input_tag_trim('cv.commercial_court', SELF.cv.commercial_court, class='wi-lightwide') %] </td>
128 128
    </tr>
129 129
    [% END %]
130 130

  
......
182 182
    <tr>
183 183
      [% IF SELF.is_vendor() %]
184 184
        <th>[% 'Vendor Number' | $T8 %]</th>
185
        <td>[% L.input_tag('cv.vendornumber', SELF.cv.vendornumber, class='wi-normal') %]</td>
185
        <td>[% L.input_tag_trim('cv.vendornumber', SELF.cv.vendornumber, class='wi-normal') %]</td>
186 186
      [% ELSE %]
187 187
        <th>[% 'Customer Number' | $T8 %]</th>
188
        <td>[% L.input_tag('cv.customernumber', SELF.cv.customernumber, class='wi-normal') %]</td>
188
        <td>[% L.input_tag_trim('cv.customernumber', SELF.cv.customernumber, class='wi-normal') %]</td>
189 189
      [% END %]
190 190
    </tr>
191 191
    <tr>
192 192
      <th>[% 'Tax Number / SSN' | $T8 %]</th>
193
      <td>[% L.input_tag('cv.taxnumber', SELF.cv.taxnumber, class='wi-normal') %]</td>
193
      <td>[% L.input_tag_trim('cv.taxnumber', SELF.cv.taxnumber, class='wi-normal') %]</td>
194 194
    </tr>
195 195
    <tr>
196 196
<!--
......
198 198
  Anm.: R&B 15.11.2008     VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein
199 199
-->
200 200
      <th>[% 'sales tax identification number' | $T8 %]</th>
201
      <td>[% L.input_tag('cv.ustid', SELF.cv.ustid, class='wi-normal' ) %]</td>
201
      <td>[% L.input_tag_trim('cv.ustid', SELF.cv.ustid, class='wi-normal' ) %]</td>
202 202
    </tr>
203 203
    [% IF ( SELF.is_vendor() ) %]
204 204
      <tr>
205 205
          <th>[% 'Customer Number' | $T8 %]</th>
206
          <td>[% L.input_tag('cv.v_customer_id', SELF.cv.v_customer_id, class='wi-normal') %]</td>
206
          <td>[% L.input_tag_trim('cv.v_customer_id', SELF.cv.v_customer_id, class='wi-normal') %]</td>
207 207
      </tr>
208 208
    [% ELSE %]
209 209
      <tr>
210 210
        <th>[% 'our vendor number at customer' | $T8 %]</th>
211
        <td>[% L.input_tag('cv.c_vendor_id', SELF.cv.c_vendor_id, class='wi-normal') %]</td>
211
        <td>[% L.input_tag_trim('cv.c_vendor_id', SELF.cv.c_vendor_id, class='wi-normal') %]</td>
212 212
      </tr>
213 213
      <tr>
214 214
        <th>[% 'Our routing id at customer' | $T8 %]</th>
215
        <td>[% L.input_tag('cv.c_vendor_routing_id', SELF.cv.c_vendor_routing_id, size = 20) %]</td>
215
        <td>[% L.input_tag_trim('cv.c_vendor_routing_id', SELF.cv.c_vendor_routing_id, size = 20) %]</td>
216 216
      </tr>
217 217
    [% END %]
218 218
<!-- </tbody> -->
......
237 237
 -->
238 238
    <tr>
239 239
      <th>[% 'Username' | $T8 %]</th>
240
      <td>[% L.input_tag('cv.username', SELF.cv.username, class='wi-normal') %]</td>
240
      <td>[% L.input_tag_trim('cv.username', SELF.cv.username, class='wi-normal') %]</td>
241 241
    </tr>
242 242
    <tr>
243 243
      <th>[% 'Password' | $T8 %]</th>
244
      <td>[% L.input_tag('cv.user_password', SELF.cv.user_password, class='wi-normal') %]</td>
244
      <td>[% L.input_tag_trim('cv.user_password', SELF.cv.user_password, class='wi-normal') %]</td>
245 245
    </tr>
246 246
  </tbody>
247 247
</table>
......
278 278
    </tr>
279 279
    <tr>
280 280
      <th>[% 'Discount' | $T8 %]</th>
281
      <td>[% L.input_tag('cv.discount_as_percent', SELF.cv.discount_as_percent, class='wi-small numeric') %]% </td>
281
      <td>[% L.input_tag_trim('cv.discount_as_percent', SELF.cv.discount_as_percent, class='wi-small numeric') %]% </td>
282 282
    </tr>
283 283
    [% IF ( SELF.is_customer() ) %]
284 284
      <tr>
285 285
        <th>[% LxERP.t8("Hourly rate") %]</th>
286
        <td>[% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number, class='wi-small numeric') %]</td>
286
        <td>[% L.input_tag_trim("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number, class='wi-small numeric') %]</td>
287 287
      <tr>
288 288
        <th>[% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %]</th>
289 289
        <td>[% L.select_tag("cv.create_zugferd_invoices", SELF.zugferd_settings, default=SELF.cv.create_zugferd_invoices) %]</td>
......
299 299
  <tbody>
300 300
    <tr>
301 301
      <th>[% 'Credit Limit' | $T8 %]</th>
302
      <td>[% L.input_tag('cv.creditlimit_as_number', SELF.cv.creditlimit_as_number, class='wi-small numeric') %]</td>
302
      <td>[% L.input_tag_trim('cv.creditlimit_as_number', SELF.cv.creditlimit_as_number, class='wi-small numeric') %]</td>
303 303
    </tr>
304 304
    [% IF ( SELF.is_customer() ) %]
305 305
      <tr>
templates/design40_webpages/customer_vendor/tabs/contacts.html
26 26
  <tbody>
27 27
    <tr>
28 28
      <th>[% 'Given Name' | $T8 %]</th>
29
      <td>[% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, class="wi-wide") %]</td>
29
      <td>[% L.input_tag_trim('contact.cp_givenname', SELF.contact.cp_givenname, class="wi-wide") %]</td>
30 30
    </tr>
31 31
    <tr>
32 32
      <th>[% 'Surname' | $T8 %]</th>
33
      <td>[% L.input_tag('contact.cp_name', SELF.contact.cp_name, class="wi-wide") %]</td>
33
      <td>[% L.input_tag_trim('contact.cp_name', SELF.contact.cp_name, class="wi-wide") %]</td>
34 34
    </tr>
35 35
    <tr>
36 36
      <th>[% 'Main Contact Person' | $T8 %]</th>
......
56 56
      <td>
57 57
        [% IF INSTANCE_CONF.get_contact_titles_use_textfield %]
58 58
          [% L.select_tag('contact_cp_title_select', SELF.all_contact_titles, default = SELF.contact.cp_title, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#contact_cp_title").val(this.value);', class="wi-wide helper") %]
59
          [% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40, class="wi-wide addition") %]
59
          [% L.input_tag_trim('contact.cp_title', SELF.contact.cp_title, size = 40, class="wi-wide addition") %]
60 60
        [% ELSE %]
61 61
          [% L.select_tag('contact.cp_title', SELF.all_contact_titles, default = SELF.contact.cp_title, value_key = 'description', title_key = 'description', with_empty = 1, class="wi-wide helper") %]
62 62
        [% END %]
......
64 64
    </tr>
65 65
    <tr>
66 66
      <th>[% 'Project' | $T8 %]</th>
67
      <td>[% L.input_tag('contact.cp_project', SELF.contact.cp_project, class="wi-wide") %]</td>
67
      <td>[% L.input_tag_trim('contact.cp_project', SELF.contact.cp_project, class="wi-wide") %]</td>
68 68
    </tr>
69 69
    <tr>
70 70
      <th class="caption" colspan="2">[% 'Department & Function' | $T8 %]</th>
......
74 74
      <td>
75 75
        [% IF INSTANCE_CONF.get_contact_departments_use_textfield %]
76 76
          [% L.select_tag('contact_cp_abteilung_select', SELF.all_contact_departments, default = SELF.contact.cp_abteilung, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#contact_cp_abteilung").val(this.value);', class='wi-wide helper') %]
77
          [% L.input_tag('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40, class="wi-wide addition") %]
77
          [% L.input_tag_trim('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40, class="wi-wide addition") %]
78 78
        [% ELSE %]
79 79
          [% L.select_tag('contact.cp_abteilung', SELF.all_contact_departments, default = SELF.contact.cp_abteilung, value_key = 'description', title_key = 'description', with_empty = 1, class='wi-wide helper') %]
80 80
        [% END %]
......
82 82
    </tr>
83 83
    <tr>
84 84
      <th>[% 'Function/position' | $T8 %]</th>
85
      <td>[% L.input_tag('contact.cp_position', SELF.contact.cp_position, class="wi-wide") %]</td>
85
      <td>[% L.input_tag_trim('contact.cp_position', SELF.contact.cp_position, class="wi-wide") %]</td>
86 86
    </tr>
87 87
    <tr>
88 88
      <th class="caption" colspan="2">[% 'Address' | $T8 %]</th>
......
90 90
    <tr>
91 91
      <th>[% 'Street' | $T8 %]</th>
92 92
      <td>
93
        [% L.input_tag('contact.cp_street', SELF.contact.cp_street, class="wi-wide") %]
93
        [% L.input_tag_trim('contact.cp_street', SELF.contact.cp_street, class="wi-wide") %]
94 94
        <span id="contact_map"></span>
95 95
        <script type="text/javascript">
96 96
          var contactsMapWidget = new kivi.CustomerVendor.MapWidget('contact_cp_');
......
103 103
    <tr>
104 104
      <th>[% 'Zip, City' | $T8 %]</th>
105 105
      <td>
106
        [% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, class="wi-verysmall") %][% L.input_tag('contact.cp_city', SELF.contact.cp_city, class="wi-wide--verysmall") %]
106
        [% L.input_tag_trim('contact.cp_zipcode', SELF.contact.cp_zipcode, class="wi-verysmall") %][% L.input_tag_trim('contact.cp_city', SELF.contact.cp_city, class="wi-wide--verysmall") %]
107 107
      </td>
108 108
    </tr>
109 109
    [% contact_cvars = SELF.contact.cvars_by_config %]
......
128 128
  <tbody>
129 129
    <tr>
130 130
      <th>[% 'E-mail' | $T8 %]</th>
131
      <td>[% L.input_tag('contact.cp_email', SELF.contact.cp_email, class="wi-wide") %]</td>
131
      <td>[% L.input_tag_trim('contact.cp_email', SELF.contact.cp_email, class="wi-wide") %]</td>
132 132
    </tr>
133 133
    <tr>
134 134
      <th>[% 'Phone1' | $T8 %]</th>
135
      <td>[% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, class="wi-wide") %]</td>
135
      <td>[% L.input_tag_trim('contact.cp_phone1', SELF.contact.cp_phone1, class="wi-wide") %]</td>
136 136
    </tr>
137 137
    <tr>
138 138
      <th>[% 'Phone2' | $T8 %]</th>
139
      <td>[% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, class="wi-wide") %]</td>
139
      <td>[% L.input_tag_trim('contact.cp_phone2', SELF.contact.cp_phone2, class="wi-wide") %]</td>
140 140
    </tr>
141 141
    <tr>
142 142
      <th>[% 'Fax' | $T8 %]</th>
143
      <td>[% L.input_tag('contact.cp_fax', SELF.contact.cp_fax, class="wi-wide") %]</td>
143
      <td>[% L.input_tag_trim('contact.cp_fax', SELF.contact.cp_fax, class="wi-wide") %]</td>
144 144
    </tr>
145 145
    <tr>
146 146
      <th>[% 'Mobile1' | $T8 %]</th>
147
      <td>[% L.input_tag('contact.cp_mobile1', SELF.contact.cp_mobile1, class="wi-wide") %]</td>
147
      <td>[% L.input_tag_trim('contact.cp_mobile1', SELF.contact.cp_mobile1, class="wi-wide") %]</td>
148 148
    </tr>
149 149
    <tr>
150 150
      <th>[% 'Mobile2' | $T8 %]</th>
151
      <td>[% L.input_tag('contact.cp_mobile2', SELF.contact.cp_mobile2, class="wi-wide") %]</td>
151
      <td>[% L.input_tag_trim('contact.cp_mobile2', SELF.contact.cp_mobile2, class="wi-wide") %]</td>
152 152
    </tr>
153 153
    <tr>
154 154
      <th>[% 'Sat. Phone' | $T8 %]</th>
155
      <td>[% L.input_tag('contact.cp_satphone', SELF.contact.cp_satphone, class="wi-wide") %]</td>
155
      <td>[% L.input_tag_trim('contact.cp_satphone', SELF.contact.cp_satphone, class="wi-wide") %]</td>
156 156
    </tr>
157 157
    <tr>
158 158
      <th>[% 'Sat. Fax' | $T8 %]</th>
159
      <td>[% L.input_tag('contact.cp_satfax', SELF.contact.cp_satfax, class="wi-wide") %]</td>
159
      <td>[% L.input_tag_trim('contact.cp_satfax', SELF.contact.cp_satfax, class="wi-wide") %]</td>
160 160
    </tr>
161 161
    <tr>
162 162
      <th>[% 'Private Phone' | $T8 %]</th>
163
      <td>[% L.input_tag('contact.cp_privatphone', SELF.contact.cp_privatphone, class="wi-wide") %]</td>
163
      <td>[% L.input_tag_trim('contact.cp_privatphone', SELF.contact.cp_privatphone, class="wi-wide") %]</td>
164 164
    </tr>
165 165
    <tr>
166 166
      <th>[% 'Private E-mail' | $T8 %]</th>
167
      <td>[% L.input_tag('contact.cp_privatemail', SELF.contact.cp_privatemail, class="wi-wide") %]</td>
167
      <td>[% L.input_tag_trim('contact.cp_privatemail', SELF.contact.cp_privatemail, class="wi-wide") %]</td>
168 168
    </tr>
169 169
  </tbody>
170 170
</table>
templates/design40_webpages/customer_vendor/tabs/shipto.html
27 27
    <tbody>
28 28
      <tr>
29 29
        <th>[% 'Name' | $T8 %]</th>
30
        <td>[% L.input_tag('shipto.shiptoname', SELF.shipto.shiptoname, class="wi-wide") %]</td>
30
        <td>[% L.input_tag_trim('shipto.shiptoname', SELF.shipto.shiptoname, class="wi-wide") %]</td>
31 31
      </tr>
32 32
      <tr>
33 33
        <th>[% 'Department' | $T8 %]</th>
34 34
        <td>
35
          [% L.input_tag('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1, class="wi-wide") %] <br>
36
          [% L.input_tag('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2, class="wi-wide addition") %]
35
          [% L.input_tag_trim('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1, class="wi-wide") %] <br>
36
          [% L.input_tag_trim('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2, class="wi-wide addition") %]
37 37
        </td>
38 38
      </tr>
39 39
      <tr>
40 40
        <th>[% 'Street' | $T8 %]</th>
41
        <td>[% L.input_tag('shipto.shiptostreet', SELF.shipto.shiptostreet, class="wi-wide") %]
41
        <td>[% L.input_tag_trim('shipto.shiptostreet', SELF.shipto.shiptostreet, class="wi-wide") %]
42 42
          <span id="shipto_map"></span>
43 43
          <script type="text/javascript">
44 44
            shiptoMapWidget = new kivi.CustomerVendor.MapWidget('shipto_shipto');
......
51 51
      <tr>
52 52
        <th>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
53 53
        <td>
54
          [% L.input_tag('shipto.shiptozipcode', SELF.shipto.shiptozipcode, class="wi-verysmall") %][% L.input_tag('shipto.shiptocity', SELF.shipto.shiptocity, class="wi-wide--verysmall", style='width:13.1em;') %]
54
          [% L.input_tag_trim('shipto.shiptozipcode', SELF.shipto.shiptozipcode, class="wi-verysmall") %][% L.input_tag_trim('shipto.shiptocity', SELF.shipto.shiptocity, class="wi-wide--verysmall", style='width:13.1em;') %]
55 55
        </td>
56 56
      </tr>
57 57
      <tr>
58 58
        <th>[% 'Country' | $T8 %]</th>
59
        <td>[% L.input_tag('shipto.shiptocountry', SELF.shipto.shiptocountry, class="wi-wide") %]</td>
59
        <td>[% L.input_tag_trim('shipto.shiptocountry', SELF.shipto.shiptocountry, class="wi-wide") %]</td>
60 60
      </tr>
61 61
      <tr>
62 62
        <th>[% 'GLN' | $T8 %]</th>
63
        <td>[% L.input_tag('shipto.shiptogln', SELF.shipto.shiptogln, class="wi-wide") %]</td>
63
        <td>[% L.input_tag_trim('shipto.shiptogln', SELF.shipto.shiptogln, class="wi-wide") %]</td>
64 64
      </tr>
65 65
    </tbody>
66 66
  </table>
......
70 70
    <tbody>
71 71
      <tr>
72 72
        <th>[% 'Contact' | $T8 %]</th>
73
        <td>[% L.input_tag('shipto.shiptocontact', SELF.shipto.shiptocontact, class="wi-wide") %]</td>
73
        <td>[% L.input_tag_trim('shipto.shiptocontact', SELF.shipto.shiptocontact, class="wi-wide") %]</td>
74 74
      </tr>
75 75
      <tr>
76 76
        <th>[% 'Phone' | $T8 %]</th>
77
        <td>[% L.input_tag('shipto.shiptophone', SELF.shipto.shiptophone, class="wi-wide") %]</td>
77
        <td>[% L.input_tag_trim('shipto.shiptophone', SELF.shipto.shiptophone, class="wi-wide") %]</td>
78 78
      </tr>
79 79
      <tr>
80 80
        <th>[% 'Fax' | $T8 %]</th>
81
        <td>[% L.input_tag('shipto.shiptofax', SELF.shipto.shiptofax, class="wi-wide") %]</td>
81
        <td>[% L.input_tag_trim('shipto.shiptofax', SELF.shipto.shiptofax, class="wi-wide") %]</td>
82 82
      </tr>
83 83
      <tr>
84 84
        <th>[% 'E-mail' | $T8 %]</th>
85
        <td>[% L.input_tag('shipto.shiptoemail', SELF.shipto.shiptoemail, class="wi-wide") %]</td>
85
        <td>[% L.input_tag_trim('shipto.shiptoemail', SELF.shipto.shiptoemail, class="wi-wide") %]</td>
86 86
      </tr>
87 87
      [% shipto_cvars = SELF.shipto.cvars_by_config %]
88 88
      [% IF ( shipto_cvars.size ) %]
templates/design40_webpages/customer_vendor/tabs/vcnotes.html
77 77
    [% END %]
78 78
    <tr>
79 79
      <th>[% 'Subject' | $T8 %]</th>
80
      <td>[% L.input_tag('note.subject', SELF.note.subject, class="wi-verywide") %]</td>
80
      <td>[% L.input_tag_trim('note.subject', SELF.note.subject, class="wi-verywide") %]</td>
81 81
    </tr>
82 82
    <tr>
83 83
      <th>[% 'Follow-Up On' | $T8 %]</th>
templates/webpages/customer_vendor/tabs/additional_billing_addresses.html
31 31
      <th align="right" nowrap>[% 'Name' | $T8 %]</th>
32 32

  
33 33
      <td>
34
        [% L.input_tag('additional_billing_address.name', SELF.additional_billing_address.name,  size = 35) %]
34
        [% L.input_tag_trim('additional_billing_address.name', SELF.additional_billing_address.name,  size = 35) %]
35 35
      </td>
36 36
    </tr>
37 37

  
......
39 39
      <th align="right" nowrap>[% 'Department' | $T8 %]</th>
40 40

  
41 41
      <td>
42
        [% L.input_tag('additional_billing_address.department_1', SELF.additional_billing_address.department_1,  size = 16) %]
43
        [% L.input_tag('additional_billing_address.department_2', SELF.additional_billing_address.department_2,  size = 16) %]
42
        [% L.input_tag_trim('additional_billing_address.department_1', SELF.additional_billing_address.department_1,  size = 16) %]
43
        [% L.input_tag_trim('additional_billing_address.department_2', SELF.additional_billing_address.department_2,  size = 16) %]
44 44
      </td>
45 45
    </tr>
46 46

  
......
48 48
      <th align="right" nowrap>[% 'Street' | $T8 %]</th>
49 49

  
50 50
      <td>
51
        [% L.input_tag('additional_billing_address.street', SELF.additional_billing_address.street,  size = 35) %]
51
        [% L.input_tag_trim('additional_billing_address.street', SELF.additional_billing_address.street,  size = 35) %]
52 52

  
53 53
        <span id="additional_billing_address_map"></span>
54 54
        <script type="text/javascript">
......
64 64
      <th align="right" nowrap>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
65 65

  
66 66
      <td>
67
        [% L.input_tag('additional_billing_address.zipcode', SELF.additional_billing_address.zipcode,  size = 5) %]
68
        [% L.input_tag('additional_billing_address.city', SELF.additional_billing_address.city,  size = 30) %]
67
        [% L.input_tag_trim('additional_billing_address.zipcode', SELF.additional_billing_address.zipcode,  size = 5) %]
68
        [% L.input_tag_trim('additional_billing_address.city', SELF.additional_billing_address.city,  size = 30) %]
69 69
      </td>
70 70
    </tr>
71 71

  
......
73 73
      <th align="right" nowrap>[% 'Country' | $T8 %]</th>
74 74

  
75 75
      <td>
76
        [% L.input_tag('additional_billing_address.country', SELF.additional_billing_address.country,  size = 35) %]
76
        [% L.input_tag_trim('additional_billing_address.country', SELF.additional_billing_address.country,  size = 35) %]
77 77
      </td>
78 78
    </tr>
79 79

  
......
81 81
      <th align="right" nowrap>[% 'GLN' | $T8 %]</th>
82 82

  
83 83
      <td>
84
        [% L.input_tag('additional_billing_address.gln', SELF.additional_billing_address.gln,  size = 30) %]
84
        [% L.input_tag_trim('additional_billing_address.gln', SELF.additional_billing_address.gln,  size = 30) %]
85 85
      </td>
86 86
    </tr>
87 87

  
......
89 89
      <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
90 90

  
91 91
      <td>
92
        [% L.input_tag('additional_billing_address.contact', SELF.additional_billing_address.contact,  size = 30) %]
92
        [% L.input_tag_trim('additional_billing_address.contact', SELF.additional_billing_address.contact,  size = 30) %]
93 93
      </td>
94 94
    </tr>
95 95

  
......
97 97
      <th align="right" nowrap>[% 'Phone' | $T8 %]</th>
98 98

  
99 99
      <td>
100
        [% L.input_tag('additional_billing_address.phone', SELF.additional_billing_address.phone,  size = 30) %]
100
        [% L.input_tag_trim('additional_billing_address.phone', SELF.additional_billing_address.phone,  size = 30) %]
101 101
      </td>
102 102
    </tr>
103 103

  
......
105 105
      <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
106 106

  
107 107
      <td>
108
        [% L.input_tag('additional_billing_address.fax', SELF.additional_billing_address.fax,  size = 30) %]
108
        [% L.input_tag_trim('additional_billing_address.fax', SELF.additional_billing_address.fax,  size = 30) %]
109 109
      </td>
110 110
    </tr>
111 111

  
......
113 113
      <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
114 114

  
115 115
      <td>
116
        [% L.input_tag('additional_billing_address.email', SELF.additional_billing_address.email,  size = 45) %]
116
        [% L.input_tag_trim('additional_billing_address.email', SELF.additional_billing_address.email,  size = 45) %]
117 117
      </td>
118 118
    </tr>
119 119
    <tr>
120 120
      <th align="right" nowrap>[% 'Dunning email' | $T8 %]</th>
121 121

  
122 122
      <td>
123
        [% L.input_tag('additional_billing_address.dunning_mail', SELF.additional_billing_address.dunning_mail,  size = 45) %]
123
        [% L.input_tag_trim('additional_billing_address.dunning_mail', SELF.additional_billing_address.dunning_mail,  size = 45) %]
124 124
      </td>
125 125
    </tr>
126 126

  
templates/webpages/customer_vendor/tabs/bank.html
9 9
      <th align="right">[% 'Owner of account' | $T8 %]</th>
10 10

  
11 11
      <td>
12
        [% L.input_tag('cv.depositor', SELF.cv.depositor, size = 20) %]
12
        [% L.input_tag_trim('cv.depositor', SELF.cv.depositor, size = 20) %]
13 13
      </td>
14 14

  
15 15
    [%- IF ( SELF.is_customer ) %]
16 16
      <th align="right">[% 'Mandator ID' | $T8 %]</th>
17 17
      <td>
18
        [% L.input_tag('cv.mandator_id', SELF.cv.mandator_id, size = 20) %]
18
        [% L.input_tag_trim('cv.mandator_id', SELF.cv.mandator_id, size = 20) %]
19 19
      </td>
20 20

  
21 21
      <th align="right">[% 'Mandate Date of Signature' | $T8 %]</th>
......
29 29
      <th align="right">[% 'IBAN' | $T8 %]</th>
30 30

  
31 31
      <td>
32
        [% L.input_tag('cv.iban', SELF.cv.iban, size = 34) %]
32
        [% L.input_tag_trim('cv.iban', SELF.cv.iban, size = 34) %]
33 33
      </td>
34 34

  
35 35

  
36 36
      <th align="right">[% 'BIC' | $T8 %]</th>
37 37
      <td>
38
        [% L.input_tag('cv.bic', SELF.cv.bic, size = 20) %]
38
        [% L.input_tag_trim('cv.bic', SELF.cv.bic, size = 20) %]
39 39
      </td>
40 40

  
41 41
      <th align="right">[% 'Bank' | $T8 %]</th>
42 42

  
43 43
      <td>
44
        [% L.input_tag('cv.bank', SELF.cv.bank, size = 20) %]
44
        [% L.input_tag_trim('cv.bank', SELF.cv.bank, size = 20) %]
45 45
      </td>
46 46
    </tr>
47 47

  
......
49 49
      <th align="right">[% 'Account Number' | $T8 %]</th>
50 50

  
51 51
      <td>
52
        [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 20) %]
52
        [% L.input_tag_trim('cv.account_number', SELF.cv.account_number, size = 20) %]
53 53
      </td>
54 54

  
55 55

  
56 56
      <th align="right">[% 'Bank Code Number' | $T8 %]</th>
57 57

  
58 58
      <td>
59
        [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 20) %]
59
        [% L.input_tag_trim('cv.bank_code', SELF.cv.bank_code, size = 20) %]
60 60
      </td>
61 61
    </tr>
62 62
  </table>
templates/webpages/customer_vendor/tabs/billing.html
40 40
      [% IF SELF.is_vendor() %]
41 41
        <th align="right" nowrap>[% 'Vendor Number' | $T8 %]</th>
42 42
        <td>
43
          [% L.input_tag('cv.vendornumber', SELF.cv.vendornumber) %]
43
          [% L.input_tag_trim('cv.vendornumber', SELF.cv.vendornumber) %]
44 44
        </td>
45 45
      [%- ELSE %]
46 46
        <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
47 47
        <td>
48
          [% L.input_tag('cv.customernumber', SELF.cv.customernumber) %]
48
          [% L.input_tag_trim('cv.customernumber', SELF.cv.customernumber) %]
49 49
        </td>
50 50
      [%- END %]
51 51
    </tr>
......
55 55

  
56 56
      <td>
57 57
        [%- IF INSTANCE_CONF.get_vc_greetings_use_textfield -%]
58
          [% L.input_tag('cv.greeting', SELF.cv.greeting) %]
58
          [% L.input_tag_trim('cv.greeting', SELF.cv.greeting) %]
59 59
          [% 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);') %]
60 60
        [%- ELSE -%]
61 61
          [% L.select_tag('cv.greeting', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1) %]
......
73 73
      </th>
74 74

  
75 75
      <td>
76
        [% L.input_tag('cv.name', SELF.cv.name) %]
76
        [% L.input_tag_trim('cv.name', SELF.cv.name) %]
77 77
        <label for="cv_natural_person">[% 'natural person' | $T8 %]</label>
78 78
        [% L.checkbox_tag('cv.natural_person', checked = SELF.cv.natural_person, for_submit=1) %]
79 79
      </td>
......
83 83
      <th align="right" nowrap>[% 'Department' | $T8 %]</th>
84 84

  
85 85
      <td>
86
        [% L.input_tag('cv.department_1', SELF.cv.department_1, size = 16) %]
87
        [% L.input_tag('cv.department_2', SELF.cv.department_2, size = 16) %]
86
        [% L.input_tag_trim('cv.department_1', SELF.cv.department_1, size = 16) %]
87
        [% L.input_tag_trim('cv.department_2', SELF.cv.department_2, size = 16) %]
88 88
      </td>
89 89
    </tr>
90 90

  
......
92 92
      <th align="right" nowrap>[% 'Street' | $T8 %]</th>
93 93

  
94 94
      <td>
95
        [% L.input_tag('cv.street', SELF.cv.street, size = 35) %]
95
        [% L.input_tag_trim('cv.street', SELF.cv.street, size = 35) %]
96 96
        <span id="billing_map"></span>
97 97
        <script type="text/javascript">
98 98
          billingMapWidget = new kivi.CustomerVendor.MapWidget('cv_', '[% JavaScript.escape(SELF.home_address_for_google_maps) %]');
......
107 107
      <th align="right" nowrap>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
108 108

  
109 109
      <td>
110
        [% L.input_tag('cv.zipcode', SELF.cv.zipcode, size = 5) %]
111
        [% L.input_tag('cv.city', SELF.cv.city, size = 30) %]
110
        [% L.input_tag_trim('cv.zipcode', SELF.cv.zipcode, size = 5) %]
111
        [% L.input_tag_trim('cv.city', SELF.cv.city, size = 30) %]
112 112
      </td>
113 113
    </tr>
114 114

  
......
116 116
      <th align="right" nowrap>[% 'Country' | $T8 %]</th>
117 117

  
118 118
      <td>
119
        [% L.input_tag('cv.country', SELF.cv.country, size = 30) %]
119
        [% L.input_tag_trim('cv.country', SELF.cv.country, size = 30) %]
120 120
      </td>
121 121
    </tr>
122 122

  
......
124 124
      <th align="right" nowrap>[% 'GLN' | $T8 %]</th>
125 125

  
126 126
      <td>
127
        [% L.input_tag('cv.gln', SELF.cv.gln, size = 30) %]
127
        [% L.input_tag_trim('cv.gln', SELF.cv.gln, size = 30) %]
128 128
      </td>
129 129
    </tr>
130 130

  
......
132 132
      <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
133 133

  
134 134
      <td>
135
        [% L.input_tag('cv.contact', SELF.cv.contact, size = 28) %]
135
        [% L.input_tag_trim('cv.contact', SELF.cv.contact, size = 28) %]
136 136
      </td>
137 137
    </tr>
138 138

  
......
140 140
      <th align="right" nowrap>[% 'Phone' | $T8 %]</th>
141 141

  
142 142
      <td>
143
        [% L.input_tag('cv.phone', SELF.cv.phone, size = 30) %]
143
        [% L.input_tag_trim('cv.phone', SELF.cv.phone, size = 30) %]
144 144
      </td>
145 145
    </tr>
146 146

  
......
148 148
      <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
149 149

  
150 150
      <td>
151
        [% L.input_tag('cv.fax', SELF.cv.fax, size = 30) %]
151
        [% L.input_tag_trim('cv.fax', SELF.cv.fax, size = 30) %]
152 152
      </td>
153 153
    </tr>
154 154

  
......
156 156
      <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
157 157

  
158 158
      <td>
159
        [% L.input_tag('cv.email', SELF.cv.email, size = 45) %]
159
        [% L.input_tag_trim('cv.email', SELF.cv.email, size = 45) %]
160 160
      </td>
161 161
    </tr>
162 162

  
......
164 164
      <th align="right">[% 'Cc E-mail' | $T8 %]</th>
165 165

  
166 166
      <td>
167
        [% L.input_tag('cv.cc', SELF.cv.cc, size = 45) %]
167
        [% L.input_tag_trim('cv.cc', SELF.cv.cc, size = 45) %]
168 168
      </td>
169 169
    </tr>
170 170

  
......
172 172
      <th align="right">[% 'Bcc E-mail' | $T8 %]</th>
173 173

  
174 174
      <td>
175
        [% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %]
175
        [% L.input_tag_trim('cv.bcc', SELF.cv.bcc, size = 45) %]
176 176
      </td>
177 177
    </tr>
178 178
    [% IF ( SELF.is_customer() ) %]
179 179
    <tr>
180 180
      <th align="right">[% 'Email of the invoice recipient' | $T8 %]</th>
181
      <td>[% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 30) %] <label for="cv_postal_invoice">[% 'Postal Invoice' | $T8 %]</label>
181
      <td>[% L.input_tag_trim('cv.invoice_mail', SELF.cv.invoice_mail, size = 30) %] <label for="cv_postal_invoice">[% 'Postal Invoice' | $T8 %]</label>
182 182
        [% L.checkbox_tag('cv.postal_invoice', checked = SELF.cv.postal_invoice, for_submit=1) %]</td>
183 183
    </tr>
184 184
    <tr>
185 185
      <th align="right">[% 'Email of the dunning recipient' | $T8 %]</th>
186
      <td>[% L.input_tag('cv.dunning_mail', SELF.cv.dunning_mail, size = 30) %]</td>
186
      <td>[% L.input_tag_trim('cv.dunning_mail', SELF.cv.dunning_mail, size = 30) %]</td>
187 187
    </tr>
188 188

  
189 189
    <tr>
190 190
      <th align="right">[% 'Email of the delivery order recipient' | $T8 %]</th>
191
      <td>[% L.input_tag('cv.delivery_order_mail', SELF.cv.delivery_order_mail, size = 45) %]</td>
191
      <td>[% L.input_tag_trim('cv.delivery_order_mail', SELF.cv.delivery_order_mail, size = 45) %]</td>
192 192
    </tr>
193 193
    [% END %]
194 194
    <tr>
......
201 201
      </th>
202 202

  
203 203
      <td>
204
        [% L.input_tag('cv.homepage', SELF.cv.homepage, size = 45, title = LxERP.t8('Example: http://kivitendo.de')) %]
204
        [% L.input_tag_trim('cv.homepage', SELF.cv.homepage, size = 45, title = LxERP.t8('Example: http://kivitendo.de')) %]
205 205
      </td>
206 206
    </tr>
207 207

  
......
209 209
      <th align="right" nowrap>[% 'Username' | $T8 %]</th>
210 210

  
211 211
      <td>
212
        [% L.input_tag('cv.username', SELF.cv.username, size = 45) %]
212
        [% L.input_tag_trim('cv.username', SELF.cv.username, size = 45) %]
213 213
      </td>
214 214
    </tr>
215 215

  
......
217 217
      <th align="right" nowrap>[% 'Password' | $T8 %]</th>
218 218

  
219 219
      <td>
220
        [% L.input_tag('cv.user_password', SELF.cv.user_password, size = 45) %]
220
        [% L.input_tag_trim('cv.user_password', SELF.cv.user_password, size = 45) %]
221 221
      </td>
222 222
    </tr>
223 223
  </table>
......
229 229
      <th align="right">[% 'Credit Limit' | $T8 %]</th>
230 230

  
231 231
      <td>
232
        [% L.input_tag('cv.creditlimit_as_number', SELF.cv.creditlimit_as_number, size = 9) %]
232
        [% L.input_tag_trim('cv.creditlimit_as_number', SELF.cv.creditlimit_as_number, size = 9) %]
233 233
      </td>
234 234

  
235 235

  
......
243 243
      <th align="right">[% 'Discount' | $T8 %]</th>
244 244

  
245 245
      <td>
246
        [% L.input_tag('cv.discount_as_percent', SELF.cv.discount_as_percent, size = 4) %]%
246
        [% L.input_tag_trim('cv.discount_as_percent', SELF.cv.discount_as_percent, size = 4) %]%
247 247
      </td>
248 248
    </tr>
249 249

  
......
258 258
      <th align="right">[% 'Tax Number / SSN' | $T8 %]</th>
259 259

  
260 260
      <td>
261
        [% L.input_tag('cv.taxnumber', SELF.cv.taxnumber, size = 20) %]
261
        [% L.input_tag_trim('cv.taxnumber', SELF.cv.taxnumber, size = 20) %]
262 262
      </td>
263 263

  
264 264

  
......
266 266
      <th align="right">[% 'sales tax identification number' | $T8 %]</th>
267 267

  
268 268
      <td>
269
        [% L.input_tag('cv.ustid', SELF.cv.ustid, size = 20 ) %]
269
        [% L.input_tag_trim('cv.ustid', SELF.cv.ustid, size = 20 ) %]
270 270
      </td>
271 271
    </tr>
272 272

  
......
274 274
      [% IF ( SELF.is_customer() ) %]
275 275
        <th align="right">[% 'Commercial court' | $T8 %]</th>
276 276
        <td>
277
          [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
277
          [% L.input_tag_trim('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
278 278
        </td>
279 279

  
280 280
        <th align="right">[% 'our vendor number at customer' | $T8 %]</th>
281 281
        <td>
282
          [% L.input_tag('cv.c_vendor_id', SELF.cv.c_vendor_id, size = 20) %]
282
          [% L.input_tag_trim('cv.c_vendor_id', SELF.cv.c_vendor_id, size = 20) %]
283 283
        </td>
284 284

  
285 285
        <th align="right">[% 'Our routing id at customer' | $T8 %]</th>
286 286
        <td>
287
          [% L.input_tag('cv.c_vendor_routing_id', SELF.cv.c_vendor_routing_id, size = 20) %]
287
          [% L.input_tag_trim('cv.c_vendor_routing_id', SELF.cv.c_vendor_routing_id, size = 20) %]
288 288
        </td>
289 289

  
290 290
      [%- ELSE %]
291 291
        <th align="right">[% 'Customer Number' | $T8 %]</th>
292 292
        <td>
293
          [% L.input_tag('cv.v_customer_id', SELF.cv.v_customer_id, size = 20) %]
293
          [% L.input_tag_trim('cv.v_customer_id', SELF.cv.v_customer_id, size = 20) %]
294 294
        </td>
295 295
      [%- END %]
296 296
    </tr>
......
381 381
    [% IF ( SELF.is_customer() ) %]
382 382
     <tr>
383 383
      <th align="right">[%- LxERP.t8("Hourly rate") %]</th>
384
      <td>[% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %]</td>
384
      <td>[% L.input_tag_trim("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %]</td>
385 385
      <th align="right" valign="top" nowrap>[% 'Shoporderlock' | $T8 %]</th>
386 386
      <td>
387 387
        [% L.checkbox_tag('cv.order_lock', checked = SELF.cv.order_lock, for_submit=1) %]
templates/webpages/customer_vendor/tabs/contacts.html
46 46

  
47 47
      <td>
48 48
        [%- IF INSTANCE_CONF.get_contact_titles_use_textfield -%]
49
          [% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40) %]
49
          [% L.input_tag_trim('contact.cp_title', SELF.contact.cp_title, size = 40) %]
50 50
          [% L.select_tag('contact_cp_title_select', SELF.all_contact_titles, default = SELF.contact.cp_title, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#contact_cp_title").val(this.value);') %]
51 51
        [%- ELSE -%]
52 52
          [% L.select_tag('contact.cp_title', SELF.all_contact_titles, default = SELF.contact.cp_title, value_key = 'description', title_key = 'description', with_empty = 1) %]
......
59 59

  
60 60
      <td>
61 61
        [%- IF INSTANCE_CONF.get_contact_departments_use_textfield -%]
62
          [% L.input_tag('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40) %]
62
          [% L.input_tag_trim('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40) %]
63 63
          [% L.select_tag('contact_cp_abteilung_select', SELF.all_contact_departments, default = SELF.contact.cp_abteilung, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#contact_cp_abteilung").val(this.value);') %]
64 64
        [%- ELSE -%]
65 65
          [% L.select_tag('contact.cp_abteilung', SELF.all_contact_departments, default = SELF.contact.cp_abteilung, value_key = 'description', title_key = 'description', with_empty = 1) %]
......
71 71
      <th align="right" nowrap>[% 'Function/position' | $T8 %]</th>
72 72

  
73 73
      <td>
74
        [% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40) %]
74
        [% L.input_tag_trim('contact.cp_position', SELF.contact.cp_position, size = 40) %]
75 75
      </td>
76 76
    </tr>
77 77

  
......
79 79
      <th align="right" nowrap>[% 'Given Name' | $T8 %]</th>
80 80

  
81 81
      <td>
82
        [% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %]
82
        [% L.input_tag_trim('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %]
83 83
      </td>
84 84
    </tr>
85 85

  
......
87 87
      <th align="right" nowrap>[% 'Surname' | $T8 %]</th>
88 88

  
89 89
      <td>
90
        [% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40) %]
90
        [% L.input_tag_trim('contact.cp_name', SELF.contact.cp_name, size = 40) %]
91 91
      </td>
92 92
    </tr>
93 93

  
......
95 95
      <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
96 96

  
97 97
      <td>
98
        [% L.input_tag('contact.cp_email', SELF.contact.cp_email, size = 40) %]
98
        [% L.input_tag_trim('contact.cp_email', SELF.contact.cp_email, size = 40) %]
99 99
      </td>
100 100
    </tr>
101 101

  
......
103 103
      <th align="right" nowrap>[% 'Phone1' | $T8 %]</th>
104 104

  
105 105
      <td>
106
        [% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %]
106
        [% L.input_tag_trim('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %]
107 107
      </td>
108 108
    </tr>
109 109

  
......
111 111
      <th align="right" nowrap>[% 'Phone2' | $T8 %]</th>
112 112

  
113 113
      <td>
114
        [% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %]
114
        [% L.input_tag_trim('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %]
115 115
      </td>
116 116
    </tr>
117 117

  
......
119 119
      <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
120 120

  
121 121
      <td>
122
        [% L.input_tag('contact.cp_fax', SELF.contact.cp_fax, size = 40) %]
122
        [% L.input_tag_trim('contact.cp_fax', SELF.contact.cp_fax, size = 40) %]
123 123
      </td>
124 124
    </tr>
125 125

  
......
127 127
      <th align="right" nowrap>[% 'Mobile1' | $T8 %]</th>
128 128

  
129 129
      <td>
130
        [% L.input_tag('contact.cp_mobile1', SELF.contact.cp_mobile1, size = 40) %]
130
        [% L.input_tag_trim('contact.cp_mobile1', SELF.contact.cp_mobile1, size = 40) %]
131 131
      </td>
132 132
    </tr>
133 133

  
......
135 135
      <th align="right" nowrap>[% 'Mobile2' | $T8 %]</th>
136 136

  
137 137
      <td>
138
        [% L.input_tag('contact.cp_mobile2', SELF.contact.cp_mobile2, size = 40) %]
138
        [% L.input_tag_trim('contact.cp_mobile2', SELF.contact.cp_mobile2, size = 40) %]
139 139
      </td>
140 140
    </tr>
141 141

  
......
143 143
      <th align="right" nowrap>[% 'Sat. Phone' | $T8 %]</th>
144 144

  
145 145
      <td>
146
        [% L.input_tag('contact.cp_satphone', SELF.contact.cp_satphone, size = 40) %]
146
        [% L.input_tag_trim('contact.cp_satphone', SELF.contact.cp_satphone, size = 40) %]
147 147
      </td>
148 148
    </tr>
149 149

  
......
151 151
      <th align="right" nowrap>[% 'Sat. Fax' | $T8 %]</th>
152 152

  
153 153
      <td>
154
        [% L.input_tag('contact.cp_satfax', SELF.contact.cp_satfax, size = 40) %]
154
        [% L.input_tag_trim('contact.cp_satfax', SELF.contact.cp_satfax, size = 40) %]
155 155
      </td>
156 156
    </tr>
157 157

  
......
159 159
      <th align="right" nowrap>[% 'Project' | $T8 %]</th>
160 160

  
161 161
      <td>
162
        [% L.input_tag('contact.cp_project', SELF.contact.cp_project, size = 40) %]
162
        [% L.input_tag_trim('contact.cp_project', SELF.contact.cp_project, size = 40) %]
163 163
      </td>
164 164
    </tr>
165 165

  
......
167 167
      <th align="right" nowrap>[% 'Street' | $T8 %]</th>
168 168

  
169 169
      <td>
170
        [% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40) %]
170
        [% L.input_tag_trim('contact.cp_street', SELF.contact.cp_street, size = 40) %]
171 171
        <span id="contact_map"></span>
172 172
        <script type="text/javascript">
173 173
          var contactsMapWidget = new kivi.CustomerVendor.MapWidget('contact_cp_');
......
182 182
      <th align="right" nowrap>[% 'Zip, City' | $T8 %]</th>
183 183

  
184 184
      <td>
185
        [% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5) %]
186
        [% L.input_tag('contact.cp_city', SELF.contact.cp_city, size = 25) %]
185
        [% L.input_tag_trim('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5) %]
186
        [% L.input_tag_trim('contact.cp_city', SELF.contact.cp_city, size = 25) %]
187 187
      </td>
188 188
    </tr>
189 189

  
......
191 191
      <th align="right" nowrap>[% 'Private Phone' | $T8 %]</th>
192 192

  
193 193
      <td>
194
        [% L.input_tag('contact.cp_privatphone', SELF.contact.cp_privatphone, size = 40) %]
194
        [% L.input_tag_trim('contact.cp_privatphone', SELF.contact.cp_privatphone, size = 40) %]
195 195
      </td>
196 196
    </tr>
197 197

  
......
199 199
      <th align="right" nowrap>[% 'Private E-mail' | $T8 %]</th>
200 200

  
201 201
      <td>
202
        [% L.input_tag('contact.cp_privatemail', SELF.contact.cp_privatemail, size = 40) %]
202
        [% L.input_tag_trim('contact.cp_privatemail', SELF.contact.cp_privatemail, size = 40) %]
203 203
      </td>
204 204
    </tr>
205 205

  
templates/webpages/customer_vendor/tabs/shipto.html
26 26
      <th align="right" nowrap>[% 'Name' | $T8 %]</th>
27 27

  
28 28
      <td>
29
        [% L.input_tag('shipto.shiptoname', SELF.shipto.shiptoname,  size = 35) %]
29
        [% L.input_tag_trim('shipto.shiptoname', SELF.shipto.shiptoname,  size = 35) %]
30 30
      </td>
31 31
    </tr>
32 32

  
......
34 34
      <th align="right" nowrap>[% 'Department' | $T8 %]</th>
35 35

  
36 36
      <td>
37
        [% L.input_tag('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1,  size = 16) %]
38
        [% L.input_tag('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2,  size = 16) %]
37
        [% L.input_tag_trim('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1,  size = 16) %]
38
        [% L.input_tag_trim('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2,  size = 16) %]
39 39
      </td>
40 40
    </tr>
41 41

  
......
43 43
      <th align="right" nowrap>[% 'Street' | $T8 %]</th>
44 44

  
45 45
      <td>
46
        [% L.input_tag('shipto.shiptostreet', SELF.shipto.shiptostreet,  size = 35) %]
46
        [% L.input_tag_trim('shipto.shiptostreet', SELF.shipto.shiptostreet,  size = 35) %]
47 47

  
48 48
        <span id="shipto_map"></span>
49 49
        <script type="text/javascript">
......
59 59
      <th align="right" nowrap>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
60 60

  
61 61
      <td>
62
        [% L.input_tag('shipto.shiptozipcode', SELF.shipto.shiptozipcode,  size = 5) %]
63
        [% L.input_tag('shipto.shiptocity', SELF.shipto.shiptocity,  size = 30) %]
62
        [% L.input_tag_trim('shipto.shiptozipcode', SELF.shipto.shiptozipcode,  size = 5) %]
63
        [% L.input_tag_trim('shipto.shiptocity', SELF.shipto.shiptocity,  size = 30) %]
64 64
      </td>
65 65
    </tr>
66 66

  
......
68 68
      <th align="right" nowrap>[% 'Country' | $T8 %]</th>
69 69

  
70 70
      <td>
71
        [% L.input_tag('shipto.shiptocountry', SELF.shipto.shiptocountry,  size = 35) %]
71
        [% L.input_tag_trim('shipto.shiptocountry', SELF.shipto.shiptocountry,  size = 35) %]
72 72
      </td>
73 73
    </tr>
74 74

  
......
76 76
      <th align="right" nowrap>[% 'GLN' | $T8 %]</th>
77 77

  
78 78
      <td>
79
        [% L.input_tag('shipto.shiptogln', SELF.shipto.shiptogln,  size = 35) %]
79
        [% L.input_tag_trim('shipto.shiptogln', SELF.shipto.shiptogln,  size = 35) %]
80 80
      </td>
81 81
    </tr>
82 82

  
......
84 84
      <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
85 85

  
86 86
      <td>
87
        [% L.input_tag('shipto.shiptocontact', SELF.shipto.shiptocontact,  size = 30) %]
87
        [% L.input_tag_trim('shipto.shiptocontact', SELF.shipto.shiptocontact,  size = 30) %]
88 88
      </td>
89 89
    </tr>
90 90

  
......
92 92
      <th align="right" nowrap>[% 'Phone' | $T8 %]</th>
93 93

  
94 94
      <td>
95
        [% L.input_tag('shipto.shiptophone', SELF.shipto.shiptophone,  size = 30) %]
95
        [% L.input_tag_trim('shipto.shiptophone', SELF.shipto.shiptophone,  size = 30) %]
96 96
      </td>
97 97
    </tr>
98 98

  
......
100 100
      <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
101 101

  
102 102
      <td>
103
        [% L.input_tag('shipto.shiptofax', SELF.shipto.shiptofax,  size = 30) %]
103
        [% L.input_tag_trim('shipto.shiptofax', SELF.shipto.shiptofax,  size = 30) %]
104 104
      </td>
105 105
    </tr>
106 106

  
......
108 108
      <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
109 109

  
110 110
      <td>
111
        [% L.input_tag('shipto.shiptoemail', SELF.shipto.shiptoemail,  size = 45) %]
111
        [% L.input_tag_trim('shipto.shiptoemail', SELF.shipto.shiptoemail,  size = 45) %]
112 112
      </td>
113 113
    </tr>
114 114

  
templates/webpages/customer_vendor/tabs/vcnotes.html
85 85
        <td valign="right">[% 'Subject' | $T8 %]</td>
86 86

  
87 87
        <td colspan="3">
88
          [% L.input_tag('note.subject', SELF.note.subject, size = 50) %]
88
          [% L.input_tag_trim('note.subject', SELF.note.subject, size = 50) %]
89 89
        </td>
90 90
      </tr>
91 91

  

Auch abrufbar als: Unified diff