2 [% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]>
4 <form method="post" action="[% HTML.escape(script) %]">
6 <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
7 <input type="hidden" name="callback_sub" value="[% HTML.escape(callback_sub) %]">
9 <input type="hidden" name="old_form" value="[% HTML.escape(old_form) %]">
10 <input type="hidden" name="remap_parts_id" value="[% HTML.escape(remap_parts_id) %]">
11 <input type="hidden" name="remap_partnumber" value="[% HTML.escape(remap_partnumber) %]">
13 <div class="listtop">[% 'Select a part or assembly' | $T8 %]</div>
18 <th class="listheading"> </th>
19 <th class="listheading">[% 'Number' | $T8 %]</th>
20 <th class="listheading">[% 'Description' | $T8 %]</th>
22 <th class="listheading">[% 'Charge number' | $T8 %]</th>
24 [% IF has_bestbefore %]
25 [% IF conf_show_best_before %]
26 <th class="listheading">[% 'Best Before' | $T8 %]</th>
30 <th class="listheading">[% 'EAN' | $T8 %]</th>
34 [% FOREACH part = PARTS %]
35 <tr class="listrow[% loop.count % 2 %]">
37 <input type="radio" name="selection" value="[% loop.count %]"[% IF loop.first %] checked[% END %]>
41 <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
42 <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
43 [% HTML.escape(part.number) %]
47 <input type="hidden" name="new_description_[% loop.count %]" value="[% HTML.escape(part.description) %]">
48 [% HTML.escape(part.description) %]
53 <input type="hidden" name="new_charge_id_[% loop.count %]" value="[% HTML.escape(part.charge_id) %]">
54 <input type="hidden" name="new_chargenumber_[% loop.count %]" value="[% HTML.escape(part.chargenumber) %]">
55 [% HTML.escape(part.chargenumber) %]
58 [% IF has_bestbefore %]
59 [% IF conf_show_best_before %]
61 <input type="hidden" name="new_bestbefore_id_[% loop.count %]" value="[% HTML.escape(part.bestbefore_id) %]">
62 <input type="hidden" name="new_bestbefore_[% loop.count %]" value="[% HTML.escape(part.bestbefore) %]">
63 [% HTML.escape(part.bestbefore) %]
69 <input type="hidden" name="new_ean_[% loop.count %]" value="[% HTML.escape(part.ean) %]">
70 [% HTML.escape(part.ean) %]
79 <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">