[%- 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>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</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>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</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>
<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">
<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
</form>
-</body>
-</html>