X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fct%2Fform_header_master.html;h=4c2db99d3b2a66d305266b56c94038035c4e9926;hb=2e8ce008611246347f9682d81e8fabf015765bf5;hp=43291e0b282736eb86d7778c76849fafcb3c15b5;hpb=8ca9a84454b353903fd318f0ed472f81873a37f2;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header_master.html b/templates/webpages/ct/form_header_master.html index 43291e0b2..4c2db99d3 100644 --- a/templates/webpages/ct/form_header_master.html +++ b/templates/webpages/ct/form_header_master.html @@ -1,4 +1,5 @@ -[% USE HTML %][% USE LxERP %]
+[% USE HTML %][% USE LxERP %] +[% IF is_customer %] |
+ + [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + | +||||||
---|---|---|---|---|---|---|---|
+ [%- INCLUDE generic/multibox.html + name = 'salesman_id', + DATA = ALL_SALESMAN_CUSTOMERS, + id_key = 'id', + label_key = 'name', + -%] + | +|||||||
[% IF is_customer %] |
+ [%- IF conf_vertreter %] + | ||||||
+ | + | ||||||
- [%- INCLUDE generic/multibox.html - name = 'business', - DATA = all_business, - show_empty = 1, - id_key = 'id', - label_key = 'description', - -%] - | + [% UNLESS conf_vertreter %] +[% IF is_customer %] |
+ + [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + | + [%- END %][%- INCLUDE generic/multibox.html @@ -207,7 +244,7 @@ label_key = 'description', -%] | - [%- IF is_customer %] + [%- IF is_customer && !conf_vertreter %][%- INCLUDE generic/multibox.html |