X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fcontacts.html;h=630a6070472de6695f6bc12ff833ba1c31f45084;hb=0e4da157188830a45e606285bca5d0ea668bbcf5;hp=1238a4dc3acafb894b6066c491a86b7afb1bacd5;hpb=60d93ca0876dc20fd02cd886aa2f653119831d55;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index 1238a4dc3..630a60704 100644 --- a/templates/webpages/customer_vendor/tabs/contacts.html +++ b/templates/webpages/customer_vendor/tabs/contacts.html @@ -18,7 +18,8 @@ empty_title = LxERP.t8('New contact'), value_key = 'cp_id', title_key = 'full_name', - onchange = "namespace('kivi.CustomerVendor').selectContact();") + onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){ contactsMapWidget.testInputs(); local_reinit_widgets(); }});", + ) %] @@ -41,7 +42,7 @@ [% 'Title' | $T8 %] - [% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40 maxlength = 75) %] + [% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40) %] [% L.select_tag('contact_cp_title_select', SELF.all_titles, with_empty = 1, onchange = '$("#contact_cp_title").val(this.value);') %] @@ -59,7 +60,7 @@ [% 'Function/position' | $T8 %] - [% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40) %] @@ -67,7 +68,7 @@ [% 'Given Name' | $T8 %] - [% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %] @@ -75,7 +76,7 @@ [% 'Name' | $T8 %] - [% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40) %] @@ -91,7 +92,7 @@ [% 'Phone1' | $T8 %] - [% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %] @@ -99,7 +100,7 @@ [% 'Phone2' | $T8 %] - [% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %] @@ -155,11 +156,14 @@ [% 'Street' | $T8 %] - [% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40, maxlength = 75) %] - - - [% 'Map' | $T8 %] - + [% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40) %] + + @@ -167,8 +171,8 @@ [% 'Zip, City' | $T8 %] - [% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5, maxlength = 10) %] - [% L.input_tag('contact.cp_city', SELF.contact.cp_city, size = 25, maxlength = 75) %] + [% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5) %] + [% L.input_tag('contact.cp_city', SELF.contact.cp_city, size = 25) %] @@ -210,7 +214,7 @@ [% var.config.description | html %] - [% PROCESS 'customer_vendor/render_cvar_input.html' + [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'contact_cvars.' %]