X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c22cbab96b805adac331ce07764070b78c48783f..c8c6d6d:/templates/webpages/ct/form_header_de.html diff --git a/templates/webpages/ct/form_header_de.html b/templates/webpages/ct/form_header_de.html index dd94ad6e5..8d885dc53 100644 --- a/templates/webpages/ct/form_header_de.html +++ b/templates/webpages/ct/form_header_de.html @@ -1,4 +1,5 @@ -[% USE HTML %][% USE LxERP %]
+[% USE HTML %][% USE LxERP %] +| [% IF is_customer %]Kundentyp[%- ELSE %]Lieferantentyp[%- END %] | ++ [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + | +||||||||
|---|---|---|---|---|---|---|---|---|---|
| Vertreter | ++ [%- INCLUDE generic/multibox.html + name = 'salesman_id', + DATA = ALL_SALESMAN_CUSTOMERS, + id_key = 'id', + label_key = 'name', + -%] + | +||||||||
| Kundennummer | @@ -46,7 +72,7 @@|||||||||
| Firmenname | +[% IF is_customer %]Kundenname[%- ELSE %]Lieferantenname[%- END %] | ||||||||
| Steuernummer | - - | USt-IdNr. | + +USt-IdNr. | [%- IF is_customer %] | unsere Lieferanten-Nr. beim Kunden | [%- ELSE %] | Kundennummer | -+ | [%- END %] | + [%- IF conf_vertreter %] + |
| Benutzername | ++ | Passwort | ++ | ||||||
| Kunden-/Lieferantentyp | -- [%- INCLUDE generic/multibox.html - name = 'business', - DATA = all_business, - show_empty = 1, - id_key = 'id', - label_key = 'description', - -%] - | + [% UNLESS conf_vertreter %] +[% IF is_customer %]Kundentyp[% ELSE %]Lieferantentyp[%- END %] | ++ [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + | + [%- END %]Sprache | [%- INCLUDE generic/multibox.html @@ -207,7 +244,7 @@ label_key = 'description', -%] | - [%- IF is_customer %] + [%- IF is_customer && !conf_vertreter %]Verkäufer/in | [%- INCLUDE generic/multibox.html @@ -326,7 +363,7 @@ name = 'cp_id', id = 'cp_id', DATA = CONTACTS, - onChange = "get_contact(['cp_id__'+this.value],['cp_name','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',enable_delete_contact,set_gender])", + onChange = "on_contact_changed()", id_key = 'cp_id', label_sub = 'contacts_label', -%] @@ -350,6 +387,7 @@ [%- INCLUDE generic/multibox.html name = 'selected_cp_title', + id = 'selected_cp_title', DATA = MB_TITLES, show_empty = 1, id_key = 'id', @@ -364,6 +402,7 @@ [%- INCLUDE generic/multibox.html name = 'selected_cp_abteilung', + id = 'selected_cp_abteilung', DATA = MB_DEPARTMENT, show_empty = 1, id_key = 'id', @@ -596,6 +635,7 @@ + - + function on_contact_changed() { + get_contact(['cp_id__' + $('#cp_id').attr('value')], + ['cp_name','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',enable_delete_contact,set_gender]); + $('#selected_cp_title').attr('selectedIndex', 0); + $('#selected_cp_abteilung').attr('selectedIndex', 0); + } + --> + |