1 [% USE HTML %][% USE JavaScript %]<body>
3 <form method="post" action="wh.pl">
5 <input type="hidden" name="nextsub" value="remove_parts">
6 <input type="hidden" name="warehouse_id" value="[% HTML.escape(warehouse_id) %]">
8 <div class="listtop">[% title %]</div>
10 <p><translate>Removal from warehouse</translate>: [% warehouse_description %]</p>
15 <td><translate>Select type of removal</translate>:</td>
17 <select name="transfer_type_id">
18 [%- FOREACH type = TRANSFER_TYPES %]<option value="[% HTML.escape(type.id) %]">[% HTML.escape(type.description) %]</option>[% END %]
24 <td><translate>Optional comment</translate>:</td>
25 <td><input name="comment" size="20"></td>
33 <th class="listheading"><translate>Bin</translate></th>
34 <th class="listheading"><translate>Part Number</translate></th>
35 <th class="listheading"><translate>Part Description</translate></th>
36 <th class="listheading"><translate>Charge Number</translate></th>
37 <th class="listheading"><translate>Available qty</translate></th>
38 <th class="listheading"><translate>Removal qty</translate></th>
41 [% FOREACH row = CONTENTS %]
42 <tr class="listrow[% loop.count % 2 %]">
43 <input type="hidden" name="src_bin_id_[% loop.count %]" value="[% HTML.escape(row.binid) %]">
44 <input type="hidden" name="parts_id_[% loop.count %]" value="[% HTML.escape(row.parts_id) %]">
45 <input type="hidden" name="partnumber_[% loop.count %]" value="[% HTML.escape(row.partnumber) %]">
46 <input type="hidden" name="partdescription_[% loop.count %]" value="[% HTML.escape(row.partdescription) %]">
47 <input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
48 <td>[% HTML.escape(row.bindescription) %]</td>
49 <td>[% HTML.escape(row.partnumber) %]</td>
50 <td>[% HTML.escape(row.partdescription) %]</td>
51 <td>[% HTML.escape(row.chargenumber) %]</td>
52 <td>[% HTML.escape(row.qty) %]</td>
54 <input name="qty_[% loop.count %]">
55 <select name="unit_[% loop.count %]">
56 [% FOREACH unit = row.UNITS %]<option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option>[% END %]
63 <input type="hidden" name="rowcount" value="[% CONTENTS.size %]">
65 <tr><td colspan="7"><hr size="3" noshade></td></tr>
71 <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">