- <input name=transdatefrom id=transdatefrom size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
- <input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
- </td>
- <th align=right>[% 'Bis' | $T8 %]</th>
- <td>
- <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
- <input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
- </td>
+ [%- INCLUDE 'generic/multibox.html'
+ name = 'project_id',
+ style = "width: 250px",
+ DATA = ALL_PROJECTS,
+ id_key = 'id',
+ label_key = 'projectnumber',
+ limit = vclimit,
+ show_empty = 1,
+ allow_textbox = 0,
+ -%]
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
+ <td><input name="partnumber" size="20"></td>
+ </tr>
+
+ <tr>
+ <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
+ <td>
+ <input name="description" size="40">
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">[% 'Group' | $T8 %]</th>
+ <td>
+ [%- INCLUDE 'generic/multibox.html'
+ name = 'partsgroup_id',
+ style = 'width: 250px',
+ DATA = ALL_PARTSGROUPS,
+ id_key = 'id',
+ label_key = 'partsgroup',
+ show_empty = 1,
+ allow_textbox = 0,
+ -%]
+ </td>
+
+ <td align="right" nowrap>[% 'Country' | $T8 %]</td>
+ <td><input name="country" 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>
+
+ <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">[% 'Customer type' | $T8 %]</th>
+ <td>
+ [%- 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>