[% 'Shipping Address' | $T8 %] |
-
- [%- INCLUDE generic/multibox.html
- name = 'delivery_id',
- id = 'delivery_id',
- DATA = SHIPTO_ALL,
- onChange = "get_delivery(['shipto_id__' + this.value, 'from__' + from.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])",
- id_key = 'shipto_id',
- label_sub = 'shipto_label',
- show_empty = 1,
- -%]
+ |
+ [% 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)") %]
|
[% '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())")
+ %]
|
@@ -408,16 +401,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_key='safe_name') %]
|
@@ -434,12 +420,12 @@