X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fcontacts.html;h=edf5fa21379a9e44d8df4c99bffb0f7a336c3993;hb=bcc18db1e4de520a6d6d1ce0378516b2c390ee81;hp=8361c60658f240294a13cff174ee78eba918e925;hpb=083aa97632fb41ae33d6d9f768836c3aec8539a9;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index 8361c6065..edf5fa213 100644 --- a/templates/webpages/customer_vendor/tabs/contacts.html +++ b/templates/webpages/customer_vendor/tabs/contacts.html @@ -18,12 +18,15 @@ empty_title = LxERP.t8('New contact'), value_key = 'cp_id', title_key = 'full_name', - onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){ contactsMapWidget.testInputs(); local_reinit_widgets(); }});", + onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){ contactsMapWidget.testInputs(); kivi.reinit_widgets(); }});", ) %] - + + [% 'Main Contact Person' | $T8 %] + [% L.yes_no_tag('contact.cp_main', SELF.contact.cp_main) %] + [% 'Gender' | $T8 %] @@ -224,7 +227,7 @@ - [% L.button_tag('submitInputButton(this);', LxERP.t8('Delete Contact'), name = 'action_delete_contact', class = 'submit') %] + [% L.button_tag('submitInputButton("delete_contact");', LxERP.t8('Delete Contact'), class = 'submit') %] [% IF ( !SELF.contact.cp_id ) %]