X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fct%2Fform_header.html;h=9c3df1221190a6cbddbaa682ab22b647bbb6142b;hb=dc7791df0d3e919e691fb3fd3d7ee20e3c5e7ca1;hp=90e1a904edc94f533f93979fa48d8ff2317ba81f;hpb=3a8e1039c97dc57a91a0fb7635d9bc33de6108c8;p=kivitendo-erp.git
diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html
index 90e1a904e..9c3df1221 100644
--- a/templates/webpages/ct/form_header.html
+++ b/templates/webpages/ct/form_header.html
@@ -17,7 +17,7 @@
[% 'Supplies' | $T8 %]
[%- END %]
[% 'Notes' | $T8 %]
- [%- IF CUSTOM_VARIABLES.size %]
+ [%- IF CUSTOM_VARIABLES.CT.size %]
[% 'Custom Variables' | $T8 %]
[%- END %]
@@ -131,7 +131,7 @@
[% 'Phone' | $T8 %] |
- |
+ |
@@ -150,7 +150,7 @@
[% ELSE %][% 'Homepage' | $T8 %]
[% END %]
- |
+ |
@@ -213,6 +213,10 @@
|
[% 'BIC' | $T8 %] |
|
+ [%- IF ALL_CURRENCIES.size %]
+ [% 'Currency' | $T8 %] |
+ [% L.select_tag('currency', ALL_CURRENCIES, default = currency, with_empty = 1) %] |
+ [%- END %]
@@ -275,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', ALL_SALESMEN, default = salesman_id, with_empty = 1, title_key = 'safe_name') %] |
[%- END %]
@@ -303,16 +299,10 @@
[% INCLUDE 'ct/_shipto.html' %]
-
-
-
[% INCLUDE 'ct/_contact.html' %]
-
-
-
@@ -320,21 +310,25 @@
[% '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, 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)") %]
|
[% '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())")
+ %]
|
@@ -403,16 +397,9 @@
[% 'Follow-Up On' | $T8 %] |
-
-
+ [% L.date_tag('FU_date', FU_date) %]
[% 'for' | $T8 %]
-
+ [% L.select_tag('FU_created_for_user', ALL_EMPLOYEES, default = (FU_created_for_user ? FU_created_for_user : USER.id), title='safe_name') %]
|
@@ -429,12 +416,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 %] |