X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2b7ababfda8164a78a45e80fc2ec74672e6628d4..c8c6d6d:/templates/webpages/ct/form_header_master.html
diff --git a/templates/webpages/ct/form_header_master.html b/templates/webpages/ct/form_header_master.html
index ffe9c6976..ec9a62a85 100644
--- a/templates/webpages/ct/form_header_master.html
+++ b/templates/webpages/ct/form_header_master.html
@@ -39,11 +39,10 @@
Representative |
[%- INCLUDE generic/multibox.html
- name = 'salesman_id',
- DATA = ALL_SALESMAN_BUSINESSES,
- show_empty = 1,
- id_key = 'id',
- label_key = 'description',
+ name = 'salesman_id',
+ DATA = ALL_SALESMAN_CUSTOMERS,
+ id_key = 'id',
+ label_key = 'name',
-%]
|
@@ -73,7 +72,7 @@
- | Company Name |
+ [% IF is_customer %]Customer Name[%- ELSE %]Vendor Name[%- END %] |
|
@@ -182,10 +181,10 @@
[%- IF conf_vertreter %]
- | Username |
- |
- Password |
- |
+ Username |
+ |
+ Password |
+ |
[%- END %]
@@ -245,7 +244,7 @@
label_key = 'description',
-%]
- [%- IF is_customer && !use_vertreter %]
+ [%- IF is_customer && !conf_vertreter %]
Salesman |
[%- INCLUDE generic/multibox.html
@@ -364,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',
-%]
@@ -388,6 +387,7 @@
[%- INCLUDE generic/multibox.html
name = 'selected_cp_title',
+ id = 'selected_cp_title',
DATA = MB_TITLES,
show_empty = 1,
id_key = 'id',
@@ -402,6 +402,7 @@
[%- INCLUDE generic/multibox.html
name = 'selected_cp_abteilung',
+ id = 'selected_cp_abteilung',
DATA = MB_DEPARTMENT,
show_empty = 1,
id_key = 'id',
@@ -634,6 +635,7 @@
+
-
-
-
|