[%- USE L %]
[%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
[%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
-<body>
<form method="post" action="oe.pl">
</tr>
<tr>
<th align="right">[% 'Employee' | $T8 %]</th>
- <td>
- [%- INCLUDE 'generic/multibox.html'
- name = 'employee_id',
- style = 'width: 250px',
- DATA = ALL_EMPLOYEES,
- id_key = 'id',
- label_sub = 'employee_labels',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- default = ' ',
- -%]
- </td>
+ <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
</tr>
<tr>
<th align="right">[% 'Salesman' | $T8 %]</th>
- <td>
- [%- INCLUDE 'generic/multibox.html'
- name = 'salesman_id',
- style = 'width: 250px',
- DATA = ALL_SALESMEN,
- id_key = 'id',
- label_sub = 'salesman_labels',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- -%]
- </td>
+ <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
</tr>
<tr>
<th align="right">[% 'Transaction description' | $T8 %]</th>
<tr>
<th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
- <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
- <input type="button" name="transdatefrom" id="trigger3" value="?">
+ [% L.date_tag('transdatefrom') %]
</td>
<th align="right">[% 'Bis' | $T8 %]</th>
<td>
- <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
- <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
+ [% L.date_tag('transdateto') %]
</td>
</tr>
<tr>
<th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
- <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
- <input type=button name=reqdatefrom id="trigger5" value=?>
+ [% L.date_tag('reqdatefrom') %]
</td>
<th align="right">[% 'Bis' | $T8 %]</th>
<td>
- <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
- <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
+ [% L.date_tag('reqdateto') %]
</td>
</tr>
<tr>
</td>
<td>
<input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
- <label for="delivered">[% 'Delivered' | $T8 %]</label>
+ <label for="delivered">[% 'Delivery Order created' | $T8 %]</label>
</td>
</tr>
[%- END %]
<label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
</td>
</tr>
+ <tr>
+ <td>
+ <input name="l_customernumber" id="l_customernumber" class="checkbox" type="checkbox" value="Y">
+ <label for="l_customernumber">[% 'Customer Number' | $T8 %]</label>
+ </td>
+ </tr>
<tr>
<td>
<input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
</tr>
</table>
-<script type="text/javascript">
- <!--
- Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
- Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
- Calendar.setup({ inputField : "reqdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
- Calendar.setup({ inputField : "reqdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
- //-->
-</script>
-
<br>
<input type="hidden" name="nextsub" value="orders">
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
</form>
-</body>
-</html>