X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/94dadf696bb757c4dc2e9450627c3a09dddaf8ab..31e6d33a8e4ec4cf11a25ad63696948bc55f63bc:/templates/webpages/customer_vendor/tabs/contacts.html diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index 1238a4dc3..4f5d4c638 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,15 +68,15 @@ [% '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) %] - [% 'Name' | $T8 %] + [% 'Surname' | $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.' %]