- <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
- </tr>
- <tr>
- <th align="right">[% 'Project Number' | $T8 %]</th>
- <td colspan="3">
- [%- INCLUDE 'generic/multibox.html'
- name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
- style = "width: 250px",
- DATA = ALL_PROJECTS,
- id_key = 'id',
- label_key = 'projectnumber',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
+ <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
+ <th align="right">[% 'Part Description' | $T8 %]</th>
+ <td>[% L.input_tag("parts_description", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align="right">[% 'Project' | $T8 %]</th>
+ <td>[% P.project.picker("project_id", '', style=style) %]</td>
+ <th align="right">[% 'Part Number' | $T8 %]</th>
+ <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
+ </tr>
+ [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
+ <tr>
+ <th align="right" nowrap>[% vctypelabel %]</th>
+ <td>
+ [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style=style) %]