X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fcontacts.html;h=602352cea9d958c27af3dc79bae064ff315b86cc;hb=7e7aae8d20f3faf45073e5b888989a0ee5fce146;hp=54770a46ccfaad7401a5100e6a8cc5abef8dfff3;hpb=4b6c74e54767a40be404a9a1068aa0ad9da6c799;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index 54770a46c..602352cea 100644 --- a/templates/webpages/customer_vendor/tabs/contacts.html +++ b/templates/webpages/customer_vendor/tabs/contacts.html @@ -6,7 +6,7 @@
- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
[% 'Contacts' | $T8 %][% 'Contacts' | $T8 %] [% @@ -18,13 +18,14 @@ 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(); kivi.reinit_widgets(); }});", + ) %]
[% 'Gender' | $T8 %][% 'Gender' | $T8 %] [% @@ -38,16 +39,16 @@
[% 'Title' | $T8 %][% '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);') %]
[% 'Department' | $T8 %][% 'Department' | $T8 %] [% L.input_tag('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40) %] @@ -56,31 +57,31 @@
[% 'Function/position' | $T8 %][% '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) %]
[% 'Given Name' | $T8 %][% '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) %]
[% 'E-mail' | $T8 %][% 'E-mail' | $T8 %] [% L.input_tag('contact.cp_email', SELF.contact.cp_email, size = 40) %] @@ -88,23 +89,23 @@
[% 'Phone1' | $T8 %][% '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) %]
[% 'Phone2' | $T8 %][% '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) %]
[% 'Fax' | $T8 %][% 'Fax' | $T8 %] [% L.input_tag('contact.cp_fax', SELF.contact.cp_fax, size = 40) %] @@ -112,7 +113,7 @@
[% 'Mobile1' | $T8 %][% 'Mobile1' | $T8 %] [% L.input_tag('contact.cp_mobile1', SELF.contact.cp_mobile1, size = 40) %] @@ -120,7 +121,7 @@
[% 'Mobile2' | $T8 %][% 'Mobile2' | $T8 %] [% L.input_tag('contact.cp_mobile2', SELF.contact.cp_mobile2, size = 40) %] @@ -128,7 +129,7 @@
[% 'Sat. Phone' | $T8 %][% 'Sat. Phone' | $T8 %] [% L.input_tag('contact.cp_satphone', SELF.contact.cp_satphone, size = 40) %] @@ -136,7 +137,7 @@
[% 'Sat. Fax' | $T8 %][% 'Sat. Fax' | $T8 %] [% L.input_tag('contact.cp_satfax', SELF.contact.cp_satfax, size = 40) %] @@ -144,7 +145,7 @@
[% 'Project' | $T8 %][% 'Project' | $T8 %] [% L.input_tag('contact.cp_project', SELF.contact.cp_project, size = 40) %] @@ -152,28 +153,31 @@
[% 'Street' | $T8 %][% '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) %] + +
[% 'Zip, City' | $T8 %][% '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) %]
[% 'Private Phone' | $T8 %][% 'Private Phone' | $T8 %] [% L.input_tag('contact.cp_privatphone', SELF.contact.cp_privatphone, size = 40) %] @@ -181,7 +185,7 @@
[% 'Private E-mail' | $T8 %][% 'Private E-mail' | $T8 %] [% L.input_tag('contact.cp_privatemail', SELF.contact.cp_privatemail, size = 40) %] @@ -189,7 +193,7 @@
[% 'Birthday' | $T8 %][% 'Birthday' | $T8 %] [% L.date_tag('contact.cp_birthday', SELF.contact.cp_birthday) %] @@ -207,12 +211,11 @@ [% FOREACH var = contact_cvars %]
[% var.config.description | html %][% var.config.description | html %] - [% - INCLUDE 'customer_vendor/render_cvar_input.html' - cvar_name_prefix = 'contact_cvars.' + [% INCLUDE 'common/render_cvar_input.html' + cvar_name_prefix = 'contact_cvars.' %]