[%- USE T8 %]
[%- USE L %]
-[%- USE HTML %][%- USE LxERP %]
+[%- USE HTML %][%- USE LxERP %][%- USE P -%]
<h1>[% title %]</h1>
[%- IF vc == 'customer' %]
}
</style>
- <form method="post" action="do.pl" name="Form">
+ <form method="post" action="do.pl" name="Form" id="form">
<p>
<table>
<tr>
<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 initial_focus">
- [%- ELSE %]
- <select name="[% vc %]" class="fixed_width initial_focus">
- <option></option>
- [%- FOREACH row = ALL_VC %]
- <option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>
- [%- END %]
- </select>
- <input type="hidden" name="select[% vc %]" value="1">
- [%- END %]
- </td>
+ <td colspan="3">[% P.input_tag(vc, "", class="fixed_width initial_focus") %]</td>
</tr>
<tr>
<td colspan="3"><input name="ordnumber" class="fixed_width"></td>
</tr>
+ [%- IF type == "purchase_delivery_order" %]
+ <tr>
+ <th align="right">[% 'Order Confirmation Number' | $T8 %]</th>
+ <td colspan="3"><input name="order_confirmation_number" class="fixed_width"></td>
+ </tr>
+
+ <tr>
+ <th align="right">[% 'Vendor Confirmation Number' | $T8 %]</th>
+ <td colspan="3"><input name="vendor_confirmation_number" class="fixed_width"></td>
+ </tr>
+ [%- END %]
+
<tr>
<th align="right">[% 'Customer Order Number' | $T8 %]</th>
<td colspan="3"><input name="cusordnumber" class="fixed_width"></td>
<th align="right">[% 'Transaction description' | $T8 %]</th>
<td><input name="transaction_description" class="fixed_width"></td>
<th align="right">[% 'Part Description' | $T8 %]</th>
- <td><input name="parts_description" size="20"></td>
+ <td><input name="parts_description" size="20" class="fixed_width"></td>
+ </tr>
+
+ <tr>
+ <th align="right">[% 'Full Text' | $T8 %]</th>
+ <td colspan="3">[% L.input_tag('fulltext', '', class="fixed_width") %]</td>
</tr>
<tr>
</select>
</td>
<th align="right">[% 'Part Number' | $T8 %]</th>
- <td><input name="parts_partnumber" size="20"></td>
+ <td><input name="parts_partnumber" size="20", class="fixed_width"></td>
</tr>
<tr>
<th align="right">[% 'Serial Number' | $T8 %]</th>
- <td colspan="3"><input name="serialnumber" class="fixed_width"></td>
+ <td><input name="serialnumber" class="fixed_width"></td>
+ <th align="right">[% 'Charge Number' | $T8 %]</th>
+ <td><input name="chargenumber" class="fixed_width"></td>
</tr>
[%- IF ALL_BUSINESS_TYPES.size %]
<th align="right">[% 'Delivery Order Date' | $T8 %] [% 'From' | $T8 %]</th>
<td>
[% L.date_tag('transdatefrom') %]
- </td>
- <th align="right">[% 'Bis' | $T8 %]</th>
- <td>
+ [% 'Bis' | $T8 %]
[% L.date_tag('transdateto') %]
</td>
</tr>
<th align="right">[% 'Reqdate' | $T8 %] [% 'From' | $T8 %]</th>
<td>
[% L.date_tag('reqdatefrom') %]
- </td>
- <th align="right">[% 'Bis' | $T8 %]</th>
- <td>
+ [% 'Bis' | $T8 %]
[% L.date_tag('reqdateto') %]
</td>
</tr>
<th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
<td>
[% L.date_tag('insertdatefrom') %]
- </td>
- <th align="right">[% 'Bis' | $T8 %]</th>
- <td>
+ [% 'Bis' | $T8 %]
[% L.date_tag('insertdateto') %]
</td>
</tr>
<label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
</td>
+ [%- IF type == "purchase_delivery_order" %]
+ <td>
+ <input name="l_order_confirmation_number" id="l_order_confirmation_number" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_order_confirmation_number">[% 'Order Confirmation Number' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_vendor_confirmation_number" id="l_vendor_confirmation_number" class="checkbox" type="checkbox" value="Y" checked>
+ <label for="l_vendor_confirmation_number">[% 'Vendor Confirmation Number' | $T8 %]</label>
+ </td>
+ [%- END %]
+
<td>
<input name="l_cusordnumber" id="l_cusordnumber" class="checkbox" type="checkbox" value="Y" checked>
<label for="l_cusordnumber">[% 'Customer Order Number' | $T8 %]</label>
</td>
</tr>
+ <tr>
+ <td>
+ <input name="l_items" id="l_items" class="checkbox" type="checkbox" value="Y">
+ <label for="l_items">[% 'Positions' | $T8 %]</label>
+ </td>
+ </tr>
+
</table>
</td>
</tr>
</table>
</p>
- <hr size="3" noshade>
-
- <p>
- <input type="hidden" name="nextsub" value="orders">
+ <input type="hidden" name="action" value="orders">
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
<input type="hidden" name="type" value="[% HTML.escape(type) %]">
-
- <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
- </p>
</form>