Merge branch 'master' of ssh://git-mbunkus@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / generic / select_part_en.html
1 [% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]>
2
3  <form method="post" action="[% HTML.escape(script) %]">
4
5   <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
6   <input type="hidden" name="callback_sub" value="[% HTML.escape(callback_sub) %]">
7
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) %]">
11
12   <div class="listtop">Select a part or assembly</div>
13
14   <p>
15    <table>
16     <tr>
17      <th class="listheading">&nbsp;</th>
18      <th class="listheading">Number</th>
19      <th class="listheading">Description</th>
20      [% IF has_charge %]
21      <th class="listheading">Charge number</th>
22      [% END %]
23      [% IF has_ean %]
24      <th class="listheading">EAN</th>
25      [% END %]
26     </tr>
27
28     [% FOREACH part = PARTS %]
29     <tr class="listrow[% loop.count % 2 %]">
30      <td>
31       <input type="radio" name="selection" value="[% loop.count %]"[% IF loop.first %] checked[% END %]>
32      </td>
33
34      <td>
35       <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
36       <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
37       [% HTML.escape(part.number) %]
38      </td>
39
40      <td>
41       <input type="hidden" name="new_description_[% loop.count %]" value="[% HTML.escape(part.description) %]">
42       [% HTML.escape(part.description) %]
43      </td>
44
45      [% IF has_charge %]
46      <td>
47       <input type="hidden" name="new_charge_id_[% loop.count %]" value="[% HTML.escape(part.charge_id) %]">
48       <input type="hidden" name="new_chargenumber_[% loop.count %]" value="[% HTML.escape(part.chargenumber) %]">
49       [% HTML.escape(part.chargenumber) %]
50      </td>
51      [% END %]
52      [% IF has_ean %]
53      <td>
54       <input type="hidden" name="new_ean_[% loop.count %]" value="[% HTML.escape(part.ean) %]">
55       [% HTML.escape(part.ean) %]
56      [% END %]
57      </td>
58     </tr>
59     [% END %]
60    </table>
61   </p>
62
63   <p>
64    <input type="submit" class="submit" name="action" value="Continue">
65   </p>
66
67  </form>
68
69 </body>
70 </html>