X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2Fform_header.html;h=bdf22dfedd34c4e776de7b5fc2b01ef4a826ff7c;hb=5d3143fc42cc8b1f3f003a1c495ba773ecaad593;hp=81c2eeabb88275c809acff7c9a29fc2444aba1ff;hpb=46717f4ab060d3125fb773a15480638a49a60c99;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 81c2eeabb..bdf22dfed 100644 --- a/templates/webpages/ct/form_header.html +++ b/templates/webpages/ct/form_header.html @@ -5,6 +5,8 @@

[% title %]

+ [% PROCESS 'common/flash.html' %] +
@@ -129,7 +131,7 @@ [% 'Phone' | $T8 %] - + @@ -148,7 +150,7 @@ [% ELSE %][% 'Homepage' | $T8 %] [% END %] - + @@ -211,6 +213,10 @@ [% 'BIC' | $T8 %] + [%- IF ALL_CURRENCIES.size %] + [% 'Currency' | $T8 %] + [% L.select_tag('currency', L.options_for_select(ALL_CURRENCIES, default=currency, with_empty=1)) %] + [%- END %] @@ -273,15 +279,7 @@ [%- IF is_customer && !conf_vertreter %] [% 'Salesman' | $T8 %] - - [%- INCLUDE generic/multibox.html - name = 'salesman_id', - DATA = ALL_SALESMEN, - show_empty = 1, - id_key = 'id', - label_sub = 'salesman_label', - -%] - + [% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, with_empty=1, title='safe_name')) %] [%- END %] @@ -301,16 +299,10 @@
[% INCLUDE 'ct/_shipto.html' %] - - -
[% INCLUDE 'ct/_contact.html' %] - - -
@@ -404,13 +396,7 @@ [% 'for' | $T8 %] - + [% L.select_tag('FU_created_for_user', L.options_for_select(ALL_EMPLOYEES, default=(FU_created_for_user ? FU_created_for_user : USER.id), title='safe_name')) %] @@ -427,12 +413,12 @@
- [%- IF CUSTOM_VARIABLES.size %] + [%- IF CUSTOM_VARIABLES.CT.size %]

- [%- FOREACH var = CUSTOM_VARIABLES %] + [%- FOREACH var = CUSTOM_VARIABLES.CT %]
[% HTML.escape(var.description) %] [% var.HTML_CODE %]