[%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] [%- USE L %]
[% 'Contacts' | $T8 %] | [% L.select_tag( 'contact.cp_id', SELF.contacts, default = SELF.contact.cp_id, with_empty = 1, 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(); }});", ) %] |
---|---|
[% 'Gender' | $T8 %] | [% L.select_tag( 'contact.cp_gender', [['m', LxERP.t8('male')], ['f', LxERP.t8('female')]], default = SELF.contact.cp_gender ) %] |
[% 'Title' | $T8 %] | [% 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 %] | [% L.input_tag('contact.cp_abteilung', SELF.contact.cp_abteilung, size = 40) %] [% L.select_tag('contact_cp_abteilung_select', SELF.all_departments, default = SELF.contact.cp_abteilung, with_empty = 1, onchange = '$("#contact_cp_abteilung").val(this.value);') %] |
[% 'Function/position' | $T8 %] | [% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40) %] |
[% 'Given Name' | $T8 %] | [% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %] |
[% 'Surname' | $T8 %] | [% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40) %] |
[% 'E-mail' | $T8 %] | [% L.input_tag('contact.cp_email', SELF.contact.cp_email, size = 40) %] |
[% 'Phone1' | $T8 %] | [% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %] |
[% 'Phone2' | $T8 %] | [% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %] |
[% 'Fax' | $T8 %] | [% L.input_tag('contact.cp_fax', SELF.contact.cp_fax, size = 40) %] |
[% 'Mobile1' | $T8 %] | [% L.input_tag('contact.cp_mobile1', SELF.contact.cp_mobile1, size = 40) %] |
[% 'Mobile2' | $T8 %] | [% L.input_tag('contact.cp_mobile2', SELF.contact.cp_mobile2, size = 40) %] |
[% 'Sat. Phone' | $T8 %] | [% L.input_tag('contact.cp_satphone', SELF.contact.cp_satphone, size = 40) %] |
[% 'Sat. Fax' | $T8 %] | [% L.input_tag('contact.cp_satfax', SELF.contact.cp_satfax, size = 40) %] |
[% 'Project' | $T8 %] | [% L.input_tag('contact.cp_project', SELF.contact.cp_project, size = 40) %] |
[% 'Street' | $T8 %] | [% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40) %] |
[% 'Zip, City' | $T8 %] | [% 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 %] | [% L.input_tag('contact.cp_privatphone', SELF.contact.cp_privatphone, size = 40) %] |
[% 'Private E-mail' | $T8 %] | [% L.input_tag('contact.cp_privatemail', SELF.contact.cp_privatemail, size = 40) %] |
[% 'Birthday' | $T8 %] | [% L.date_tag('contact.cp_birthday', SELF.contact.cp_birthday) %] |
|
|
[% var.config.description | html %] | [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'contact_cvars.' %] |