[%- USE T8 %]
[%- USE HTML %]
-<body [%- IF onload %]onload="[%- onload %]"[%- END %]>
-
<form method="post" action="[% HTML.escape(script) %]">
<input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
<th class="listheading">[% 'Charge number' | $T8 %]</th>
[% END %]
[% IF has_bestbefore %]
- [% IF conf_show_best_before %]
+ [% IF INSTANCE_CONF.get_show_bestbefore %]
<th class="listheading">[% 'Best Before' | $T8 %]</th>
[% END %]
[% END %]
<td>
<input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
<input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
+ <input type="hidden" name="new_warehouse_id_[% loop.count %]" value="[% HTML.escape(part.warehouse_id) %]">
+ <input type="hidden" name="new_bin_id_[% loop.count %]" value="[% HTML.escape(part.bin_id) %]">
[% HTML.escape(part.number) %]
</td>
</td>
[% END %]
[% IF has_bestbefore %]
- [% IF conf_show_best_before %]
+ [% IF INSTANCE_CONF.get_show_bestbefore %]
<td>
<input type="hidden" name="new_bestbefore_id_[% loop.count %]" value="[% HTML.escape(part.bestbefore_id) %]">
<input type="hidden" name="new_bestbefore_[% loop.count %]" value="[% HTML.escape(part.bestbefore) %]">
</form>
-</body>
-</html>