[%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
- <script type="text/javascript">
- $(function(){ document.Form.donumber.focus(); });
- </script>
-
<style type="text/css">
.fixed_width {
width: 250px;
<th align="right">[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th>
<td colspan="3">
[%- UNLESS SHOW_VC_DROP_DOWN %]
- <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
+ <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width initial_focus">
[%- ELSE %]
- <select name="[% vc %]" class="fixed_width">
+ <select name="[% vc %]" class="fixed_width initial_focus">
<option></option>
[%- FOREACH row = ALL_VC %]
<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
<tr>
<th align="right">[% 'Transaction description' | $T8 %]</th>
- <td colspan="3"><input name="transaction_description" class="fixed_width"></td>
+ <td><input name="transaction_description" class="fixed_width"></td>
+ <th align="right">[% 'Part Description' | $T8 %]</th>
+ <td><input name="parts_description" size="20"></td>
</tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
- <td colspan="3">
+ <td>
<select name="project_id" class="fixed_width">
<option></option>
[%- FOREACH row = ALL_PROJECTS %]
[%- END %]
</select>
</td>
+ <th align="right">[% 'Part Number' | $T8 %]</th>
+ <td><input name="parts_partnumber" size="20"></td>
</tr>
<tr>
</td>
</tr>
- [%- IF is_customer %]
<tr>
<th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
<td>
[% L.date_tag('insertdateto') %]
</td>
</tr>
- [%- END %]
<tr>
<th align="right">[% 'Include in Report' | $T8 %]</th>