3 <form method="post" action="[% HTML.escape(script) %]">
5 <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
6 <input type="hidden" name="callback_sub" value="[% HTML.escape(callback_sub) %]">
8 <input type="hidden" name="old_form" value="[% HTML.escape(old_form) %]">
9 <input type="hidden" name="remap_parts_id" value="[% HTML.escape(remap_parts_id) %]">
10 <input type="hidden" name="remap_partnumber" value="[% HTML.escape(remap_partnumber) %]">
12 <h1>[% 'Select a part or assembly' | $T8 %]</h1>
17 <th class="listheading"> </th>
18 <th class="listheading">[% 'Number' | $T8 %]</th>
19 <th class="listheading">[% 'Description' | $T8 %]</th>
21 <th class="listheading">[% 'Charge number' | $T8 %]</th>
23 [% IF has_bestbefore %]
24 [% IF INSTANCE_CONF.get_show_bestbefore %]
25 <th class="listheading">[% 'Best Before' | $T8 %]</th>
29 <th class="listheading">[% 'EAN' | $T8 %]</th>
33 [% FOREACH part = PARTS %]
34 <tr class="listrow[% loop.count % 2 %]">
36 <input type="radio" name="selection" value="[% loop.count %]"[% IF loop.first %] checked[% END %]>
40 <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
41 <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
42 <input type="hidden" name="new_warehouse_id_[% loop.count %]" value="[% HTML.escape(part.warehouse_id) %]">
43 <input type="hidden" name="new_bin_id_[% loop.count %]" value="[% HTML.escape(part.bin_id) %]">
44 [% HTML.escape(part.number) %]
48 <input type="hidden" name="new_description_[% loop.count %]" value="[% HTML.escape(part.description) %]">
49 [% HTML.escape(part.description) %]
54 <input type="hidden" name="new_charge_id_[% loop.count %]" value="[% HTML.escape(part.charge_id) %]">
55 <input type="hidden" name="new_chargenumber_[% loop.count %]" value="[% HTML.escape(part.chargenumber) %]">
56 [% HTML.escape(part.chargenumber) %]
59 [% IF has_bestbefore %]
60 [% IF INSTANCE_CONF.get_show_bestbefore %]
62 <input type="hidden" name="new_bestbefore_id_[% loop.count %]" value="[% HTML.escape(part.bestbefore_id) %]">
63 <input type="hidden" name="new_bestbefore_[% loop.count %]" value="[% HTML.escape(part.bestbefore) %]">
64 [% HTML.escape(part.bestbefore) %]
70 <input type="hidden" name="new_ean_[% loop.count %]" value="[% HTML.escape(part.ean) %]">
71 [% HTML.escape(part.ean) %]
80 <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">