X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2Fform_header.html;h=e48152327d513697e31adeea30d47910dddea381;hb=61c72d943f21d7e6d0845af4d46ae0528110b0db;hp=501ebaae1fc39c45a1e7110d9475d005472f496d;hpb=3a6d52b8250bc5dad8862931e71189bc51308d70;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 501ebaae1..e48152327 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 %]

@@ -9,22 +8,21 @@
- -
+
@@ -108,7 +106,16 @@ - + @@ -131,7 +138,7 @@ - + @@ -150,7 +157,7 @@ [% ELSE %][% 'Homepage' | $T8 %] [% END %] - + @@ -215,7 +222,7 @@ [%- IF ALL_CURRENCIES.size %] - + [%- END %] @@ -259,10 +266,10 @@ - - - - + + + + @@ -279,8 +286,11 @@ [%- IF is_customer && !conf_vertreter %] - + [%- END %] + + +
[% 'Street' | $T8 %] + + + [% 'Map' | $T8 %] + +
[% 'Phone' | $T8 %]
[% '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) %]
[% 'Obsolete' | $T8 %][% 'direct debit' | $T8 %]
[% 'Salesman' | $T8 %][% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, show_empty=1, title='safe_name')) %][% L.select_tag('salesman_id', ALL_SALESMEN, default = salesman_id, with_empty = 1, title_key = 'safe_name') %][% '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) %]
@@ -293,41 +303,40 @@ - -
-
+
[% INCLUDE 'ct/_shipto.html' %] - - -
-
+
[% INCLUDE 'ct/_contact.html' %]
-
+
@@ -338,11 +347,9 @@
[% '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').val() + '&db=' + \$('#db').val() + '&shipto_id=' + this.value)") %]
[% 'From' | $T8 %] - - + [% L.date_tag('from', + from, + onchange => "\$('#delivery').load('ct.pl?action=get_delivery&shipto_id='+ \$('#delivery_id').val() +'&from='+ \$('#from').val() +'&to='+ \$('#to').val() +'&id='+ \$('#cvid').val() +'&db='+ \$('#db').val())") + %] [% 'To (time)' | $T8 %] - - + [% L.date_tag('to', + to, + onchange => "\$('#delivery').load('ct.pl?action=get_delivery&shipto_id='+ \$('#delivery_id').val() +'&from='+ \$('#from').val() +'&to='+ \$('#to').val() +'&id='+ \$('#cvid').val() +'&db='+ \$('#db').val())") + %]
- -
-
+
[%- IF NOTES && NOTES.size %]

@@ -396,10 +403,9 @@ [% 'Follow-Up On' | $T8 %] - - + [% 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') %] @@ -412,16 +418,14 @@

- -
- [%- IF CUSTOM_VARIABLES.size %] -
+ [%- IF CUSTOM_VARIABLES.CT.size %] +

- [%- FOREACH var = CUSTOM_VARIABLES %] + [%- FOREACH var = CUSTOM_VARIABLES.CT %] @@ -429,8 +433,6 @@ [%- END %]
[% HTML.escape(var.description) %] [% var.HTML_CODE %]

- -
[%- END %]