1 [% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]>
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 <div class="listtop"><translate>Select a part or assembly</translate></div>
17 <th class="listheading"> </th>
18 <th class="listheading"><translate>Number</translate></th>
19 <th class="listheading"><translate>Description</translate></th>
21 <th class="listheading"><translate>Charge number</translate></th>
23 [% IF has_bestbefore %]
24 <th class="listheading"><translate>Best Before</translate></th>
27 <th class="listheading"><translate>EAN</translate></th>
31 [% FOREACH part = PARTS %]
32 <tr class="listrow[% loop.count % 2 %]">
34 <input type="radio" name="selection" value="[% loop.count %]"[% IF loop.first %] checked[% END %]>
38 <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
39 <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
40 [% HTML.escape(part.number) %]
44 <input type="hidden" name="new_description_[% loop.count %]" value="[% HTML.escape(part.description) %]">
45 [% HTML.escape(part.description) %]
50 <input type="hidden" name="new_charge_id_[% loop.count %]" value="[% HTML.escape(part.charge_id) %]">
51 <input type="hidden" name="new_chargenumber_[% loop.count %]" value="[% HTML.escape(part.chargenumber) %]">
52 [% HTML.escape(part.chargenumber) %]
55 [% IF has_bestbefore %]
57 <input type="hidden" name="new_bestbefore_id_[% loop.count %]" value="[% HTML.escape(part.bestbefore_id) %]">
58 <input type="hidden" name="new_bestbefore_[% loop.count %]" value="[% HTML.escape(part.bestbefore) %]">
59 [% HTML.escape(part.bestbefore) %]
64 <input type="hidden" name="new_ean_[% loop.count %]" value="[% HTML.escape(part.ean) %]">
65 [% HTML.escape(part.ean) %]
74 <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">