3 <body [%- IF onload %]onload="[%- onload %]"[%- END %]>
5 <form method="post" action="[% HTML.escape(script) %]">
7 <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
8 <input type="hidden" name="callback_sub" value="[% HTML.escape(callback_sub) %]">
10 <input type="hidden" name="old_form" value="[% HTML.escape(old_form) %]">
11 <input type="hidden" name="remap_parts_id" value="[% HTML.escape(remap_parts_id) %]">
12 <input type="hidden" name="remap_partnumber" value="[% HTML.escape(remap_partnumber) %]">
14 <div class="listtop">[% 'Select a part or assembly' | $T8 %]</div>
19 <th class="listheading"> </th>
20 <th class="listheading">[% 'Number' | $T8 %]</th>
21 <th class="listheading">[% 'Description' | $T8 %]</th>
23 <th class="listheading">[% 'Charge number' | $T8 %]</th>
25 [% IF has_bestbefore %]
26 [% IF conf_show_best_before %]
27 <th class="listheading">[% 'Best Before' | $T8 %]</th>
31 <th class="listheading">[% 'EAN' | $T8 %]</th>
35 [% FOREACH part = PARTS %]
36 <tr class="listrow[% loop.count % 2 %]">
38 <input type="radio" name="selection" value="[% loop.count %]"[% IF loop.first %] checked[% END %]>
42 <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
43 <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
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 conf_show_best_before %]
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 %]">