[%- USE T8 %]
-[% USE HTML %][% USE JavaScript %]<body onload="on_load();">
-
+[%- USE HTML %][%- USE JavaScript %]
<script type="text/javascript">
<!--
warehouses = new Array();
control.options[0].selected = true;
}
- function on_load() {
+ $(function() {
[% FOREACH row = CONTENTS %]
warehouse_selected([% loop.count %], [% initial_warehouse_idx %]);
[% END %]
- }
+ });
-->
</script>
<td>[% 'Optional comment' | $T8 %]:</td>
<td><input name="comment" size="20"></td>
</tr>
+ <tr>
+ <td>[% 'Change default bin for this parts' | $T8 %]:</td>
+ <td><input type="checkbox" name="change_default_bin"<td>
+ </tr>
</table>
</p>
<th class="listheading">[% 'Part Number' | $T8 %]</th>
<th class="listheading">[% 'Part Description' | $T8 %]</th>
<th class="listheading">[% 'Charge Number' | $T8 %]</th>
- [% IF conf_show_best_before %]
+ [% IF INSTANCE_CONF.get_show_bestbefore %]
<th class="listheading">[% 'Best Before' | $T8 %]</th>
[% END %]
<th class="listheading">[% 'EAN' | $T8 %]</th>
<input type="hidden" name="partnumber_[% loop.count %]" value="[% HTML.escape(row.partnumber) %]">
<input type="hidden" name="partdescription_[% loop.count %]" value="[% HTML.escape(row.partdescription) %]">
<input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
- [% IF conf_show_best_before %]
+ [% IF INSTANCE_CONF.get_show_bestbefore %]
<input type="hidden" name="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]">
[% END %]
<input type="hidden" name="ean_[% loop.count %]" value="[% HTML.escape(row.ean) %]">
<td>[% HTML.escape(row.partnumber) %]</td>
<td>[% HTML.escape(row.partdescription) %]</td>
<td>[% HTML.escape(row.chargenumber) %]</td>
- [% IF conf_show_best_before %]
+ [% IF INSTANCE_CONF.get_show_bestbefore %]
<td>[% HTML.escape(row.bestbefore) %]</td>
[% END %]
<td>[% HTML.escape(row.ean) %]</td>
</p>
</form>
-</body>
-</html>