X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2Fform_header.html;h=8cbd90d3747143e63169a08e6db16ebe5fcc6478;hb=14fbef00c9ced6cabe08ba14e5387e9d6221ff24;hp=5e5480ae228016eda6e7f7da82595228a43bd0c6;hpb=469ca9fc3cac624073270fc3217766dbb7aba253;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 5e5480ae2..8cbd90d37 100644 --- a/templates/webpages/ct/form_header.html +++ b/templates/webpages/ct/form_header.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] [% USE L %] -

[% title %]

@@ -215,7 +214,7 @@ [%- IF ALL_CURRENCIES.size %] [% 'Currency' | $T8 %] - [% L.select_tag('currency', L.options_for_select(ALL_CURRENCIES, default=currency, with_empty=1)) %] + [% L.select_tag('currency', ALL_CURRENCIES, default = currency, with_empty = 1) %] [%- END %] @@ -259,10 +258,10 @@ - [% 'Obsolete' | $T8 %] - - [% 'direct debit' | $T8 %] - + + + + @@ -279,9 +278,14 @@ [%- IF is_customer && !conf_vertreter %] [% 'Salesman' | $T8 %] - [% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, with_empty=1, title='safe_name')) %] + [% L.select_tag('salesman_id', ALL_SALESMEN, default = salesman_id, with_empty = 1, title_key = 'safe_name') %] [%- END %] + + + [% 'taxincluded checked' | $T8 %] + [% L.select_tag('taxincluded_checked', [[undef, LxERP.t8('use user config')], ['1', LxERP.t8('Yes')], ['0', LxERP.t8('No')]], default = taxincluded_checked) %] + @@ -310,8 +314,8 @@ @@ -399,7 +403,7 @@
[% 'Shipping Address' | $T8 %] - [% L.select_tag('delivery_id', L.options_for_select(SHIPTO_ALL, title_sub => \shipto_label, with_empty => 1), - onchange => "\$('#delivery').load('ct.pl?action=get_delivery&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %] + [% L.select_tag('delivery_id', SHIPTO_ALL, value_key = 'shipto_id', title_sub = \shipto_label, with_empty = 1, + onchange = "\$('#delivery').load('ct.pl?action=get_delivery&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %]
[% L.date_tag('FU_date', FU_date) %] [% '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')) %] + [% L.select_tag('FU_created_for_user', ALL_EMPLOYEES, default = (FU_created_for_user ? FU_created_for_user : USER.id), title_key='safe_name') %]