X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2Fform_header_master.html;h=1908225aa1d2720471a9bcd6714fdfe91f7e1740;hb=229b26a09115ce8f99ca7fa5df59a6a9fc8b5ce9;hp=5a190b3b472439291f98154b844d40ed4db5e5a9;hpb=f704c1f4362b5e891bd1827ef8466dd2714d43da;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header_master.html b/templates/webpages/ct/form_header_master.html index 5a190b3b4..1908225aa 100644 --- a/templates/webpages/ct/form_header_master.html +++ b/templates/webpages/ct/form_header_master.html @@ -1,4 +1,5 @@ -[% USE HTML %] +[% USE HTML %][% USE LxERP %] +
[% title %]
@@ -21,6 +22,31 @@ + [% IF conf_vertreter %] + + + + + + + + + [%- END %] [%- IF is_customer %] @@ -46,8 +72,8 @@ - - + + @@ -125,37 +151,56 @@ - + + - [%- IF is_sustomer %] - + [%- IF is_customer %] + [%- ELSE %] - + [%- END %] - + - + - + - - + + + + + + + [%- IF conf_vertreter %] + + + + + + + [%- END %] + + + [% UNLESS conf_vertreter %] + + + [%- END %] + + @@ -197,7 +244,7 @@ label_key = 'description', -%] - [%- IF is_customer %] + [%- IF is_customer && !conf_vertreter %]
[% IF is_customer %]Type of Customer[%- ELSE %]Type of Vendor[%- END %] + [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] +
Representative + [%- INCLUDE generic/multibox.html + name = 'salesman_id', + DATA = ALL_SALESMAN_CUSTOMERS, + id_key = 'id', + label_key = 'name', + -%] +
Customer Number
Company Name[% IF is_customer %]Customer Name[%- ELSE %]Vendor Name[%- END %]
Tax Number / SSN USt-IdNr.sales tax identification number KNr. beim Kundenour vendor number at customer KundennummerCustomer Number
Account Number Bank Code Number Bank
Type of Business - [%- INCLUDE generic/multibox.html - name = 'business', - DATA = all_business, - show_empty = 1, - id_key = 'id', - label_key = 'description', - -%] - IBANBIC
UsernamePassword
[% IF is_customer %]Type of Customer[% ELSE %]Type of Vendor[%- END %] + [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + Language [%- INCLUDE generic/multibox.html @@ -184,6 +229,8 @@
Obsolete direct debit
Salesman [%- INCLUDE generic/multibox.html @@ -235,7 +282,7 @@ name = 'shipto_id', id = 'shipto_id', DATA = SHIPTO, - onChange = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail'])", + onChange = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail',enable_delete_shipto,set_gender])", id_key = 'shipto_id', label_sub = 'shipto_label', label_key = 'shipto_label', @@ -302,6 +349,7 @@
+
@@ -315,26 +363,23 @@ name = 'cp_id', id = 'cp_id', DATA = CONTACTS, - onChange = "get_contact(['cp_id__' + this.value], ['cp_name', 'cp_greeting', 'cp_title', 'cp_givenname', 'cp_phone1', 'cp_phone2', 'cp_email', 'cp_abteilung', 'cp_fax', 'cp_mobile1', 'cp_mobile2', 'cp_satphone', 'cp_satfax', 'cp_project', 'cp_privatphone', 'cp_privatemail', 'cp_birthday'])", + onChange = "on_contact_changed()", id_key = 'cp_id', - label_key = 'cp_name', + label_sub = 'contacts_label', -%] - - Greeting - -   - [%- INCLUDE generic/multibox.html - name = 'selected_cp_greeting', - DATA = MB_GREETINGS, - show_empty = 1, - id_key = 'id', - label_key = 'description', - -%] - - + + Gender + + + + + Title @@ -342,6 +387,7 @@   [%- INCLUDE generic/multibox.html name = 'selected_cp_title', + id = 'selected_cp_title', DATA = MB_TITLES, show_empty = 1, id_key = 'id', @@ -356,6 +402,7 @@   [%- INCLUDE generic/multibox.html name = 'selected_cp_abteilung', + id = 'selected_cp_abteilung', DATA = MB_DEPARTMENT, show_empty = 1, id_key = 'id', @@ -444,6 +491,7 @@ +
@@ -464,14 +512,14 @@ - From + From - + - To (time) + To (time) - + @@ -587,10 +635,23 @@ +