<form method=post name="search" action=[% script %]>
- <table width=100%>
+ <table width=100% border="0">
<tr><th class=listtop>[% title %]</th></tr>
<tr height="5"></tr>
<tr>
<td>
[%- INCLUDE 'generic/multibox.html'
name = 'department',
+ select_name = 'department_id',
style = 'width: 250px',
DATA = ALL_DEPARTMENTS,
id_key = 'id',
<th align=right nowrap>[% 'Order Number' | $T8 %]</th>
<td colspan=3><input name=ordnumber size=20></td>
</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>
+ </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>
+ </tr>
<tr>
<th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
<td colspan=3><input name=transaction_description size=40></td>
-%]
</td>
</tr>
+ [% IF SHOW_BUSINESS_TYPES %]
+ <tr>
+ <th align="right" nowrap>[% 'Customer type' | $T8 %]</th>
+ <td colspan="3">
+ [%- INCLUDE 'generic/multibox.html'
+ name = 'business_id',
+ style = "width: 250px",
+ DATA = ALL_BUSINESS_TYPES,
+ id_key = 'id',
+ label_key = 'description',
+ limit = vclimit,
+ show_empty = 1,
+ allow_textbox = 0,
+ -%]
+ </td>
+ </tr>
+ [% END %]
<tr>
<th align=right nowrap>[% 'From' | $T8 %]</th>
<td>