Merge branch 'master' of ssh://git-mbunkus@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / wh / removal_parts_selection_en.html
1 [% USE HTML %][% USE JavaScript %]<body>
2
3  <form method="post" action="wh.pl">
4
5   <input type="hidden" name="nextsub" value="remove_parts">
6   <input type="hidden" name="warehouse_id" value="[% HTML.escape(warehouse_id) %]">
7
8   <div class="listtop">[% title %]</div>
9
10   <p>Removal from warehouse: [% warehouse_description %]</p>
11
12   <p>
13    <table>
14     <tr>
15      <td>Select type of removal:</td>
16      <td>
17       <select name="transfer_type_id">
18        [%- FOREACH type = TRANSFER_TYPES %]<option value="[% HTML.escape(type.id) %]">[% HTML.escape(type.description) %]</option>[% END %]
19       </select>
20      </td>
21     </tr>
22
23     <tr>
24      <td>Optional comment:</td>
25      <td><input name="comment" size="20"></td>
26     </tr>
27    </table>
28   </p>
29
30   <p>
31    <table>
32     <tr>
33      <th class="listheading">Bin</th>
34      <th class="listheading">Part Number</th>
35      <th class="listheading">Part Description</th>
36      <th class="listheading">Charge Number</th>
37      <th class="listheading">EAN</th>
38      <th class="listheading">Available qty</th>
39      <th class="listheading">Removal qty</th>
40     </tr>
41
42     [% FOREACH row = CONTENTS %]
43     <tr class="listrow[% loop.count % 2 %]">
44      <input type="hidden" name="src_bin_id_[% loop.count %]" value="[% HTML.escape(row.binid) %]">
45      <input type="hidden" name="parts_id_[% loop.count %]" value="[% HTML.escape(row.parts_id) %]">
46      <input type="hidden" name="partnumber_[% loop.count %]" value="[% HTML.escape(row.partnumber) %]">
47      <input type="hidden" name="partdescription_[% loop.count %]" value="[% HTML.escape(row.partdescription) %]">
48      <input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
49      <input type="hidden" name="ean_[% loop.count %]" value="[% HTML.escape(row.ean) %]">
50      <td>[% HTML.escape(row.bindescription) %]</td>
51      <td>[% HTML.escape(row.partnumber) %]</td>
52      <td>[% HTML.escape(row.partdescription) %]</td>
53      <td>[% HTML.escape(row.chargenumber) %]</td>
54      <td>[% HTML.escape(row.ean) %]</td>
55      <td>[% HTML.escape(row.qty) %]</td>
56      <td>
57       <input name="qty_[% loop.count %]">
58       <select name="unit_[% loop.count %]">
59        [% FOREACH unit = row.UNITS %]<option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option>[% END %]
60       </select>
61      </td>
62     </tr>
63
64     [% END %]
65
66     <input type="hidden" name="rowcount" value="[% CONTENTS.size %]">
67
68     <tr><td colspan="7"><hr size="3" noshade></td></tr>
69
70    </table>
71   </p>
72
73   <p>
74    <input type="submit" class="submit" name="action" value="Continue">
75   </p>
76  </form>
77
78 </body>
79 </html>