X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/65867e61b906045cbd514728b84179c648c98f63..46bc75c8:/templates/webpages/ct/form_header.html diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 8f71e65f5..5e5480ae2 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 %] - + @@ -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, show_empty=1, title='safe_name')) %] + [% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, with_empty=1, title='safe_name')) %] [%- END %] @@ -318,13 +318,17 @@ [% '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,8 +397,7 @@ [% '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')) %] @@ -413,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 %]