[%- USE T8 %]
[%- USE HTML %]
[%- USE L %]
-[%- USE JavaScript %]
- <script type="text/javascript" src="js/common.js"></script>
- <script type="text/javascript" src="js/part_selection.js"></script>
+[%- USE JavaScript %][%- USE P -%]
+<h1>[% title %]</h1>
+
<script type="text/javascript">
<!--
warehouses = new Array();
$(function() {
warehouse_selected(0, 0);
- document.Form.partnumber.focus();
+ document.Form.part_id_name.focus();
});
-->
</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>
[% END %]
- <div class="listtop">[% title %]</div>
-
<p>
[% 'If you enter values for the part number and / or part description then only those bins containing parts whose part number or part description match your input will be shown.' | $T8 %]
</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", parts_id, size="30", part_type="part,assembly") %]
</td>
</tr>
<td><input name="chargenumber" size="30"></td>
</tr>
- [% IF conf_show_best_before %]
+ [% IF INSTANCE_CONF.get_show_bestbefore %]
<tr>
<th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
<td>
</tr>
</table>
</p>
-
- <p>
- <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
- </p>
</form>
-