[%- USE T8 %]
[%- USE HTML %]
[%- USE L %]
-[%- USE JavaScript %]
+[%- USE JavaScript %][%- USE P -%]
<h1>[% title %]</h1>
- <script type="text/javascript" src="js/common.js"></script>
- <script type="text/javascript" src="js/part_selection.js"></script>
<script type="text/javascript">
<!--
warehouses = new Array();
-->
</script>
- <form name="Form" method="post" action="wh.pl">
-
- <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
+ <form name="Form" method="post" action="wh.pl" id="form">
[% IF saved_message %]
<p>[% saved_message %]</p>
</tr>
<tr>
- <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
- <td>
- <input type="hidden" name="parts_id" id="parts_id">
- <input name="partnumber" id="partnumber" size="30">
- </td>
- </tr>
-
- <tr>
- <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
+ <th align="right" nowrap>[% 'Part' | $T8 %]</th>
<td>
- <input name="description" size="30">
- <input type="button" onclick="part_selection_window('partnumber', 'description', 'parts_id', 0, 'Form', '')" value="?">
+ [% P.part.picker("part_id", '', size="30", part_type="part,assembly") %]
</td>
</tr>
</tr>
</table>
</p>
-
- <p>
- <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
- </p>
</form>
-