X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5104dee447f25733832ed4e4a58c4847b2c2ea66..58966151:/templates/webpages/ct/form_header.html
diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html
index 8263d873d..9c3df1221 100644
--- a/templates/webpages/ct/form_header.html
+++ b/templates/webpages/ct/form_header.html
@@ -131,7 +131,7 @@
| [% 'Phone' | $T8 %] |
- |
+ |
@@ -215,7 +215,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 %]
@@ -279,7 +279,7 @@
[%- 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 %]
@@ -310,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())")
+ %]
|
@@ -393,10 +397,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='safe_name') %]
|