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>Entnahme aus Lager: [% warehouse_description %]</p>
15 <td>Grund der Entnahme auswählen:</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>Optionaler Kommentar:</td>
25 <td><input name="comment" size="20"></td>
33 <th class="listheading">Lagerplatz</th>
34 <th class="listheading">Artikelnummer</th>
35 <th class="listheading">Artikelbeschreibung</th>
36 <th class="listheading">Chargennummer</th>
37 <th class="listheading">EAN</th>
38 <th class="listheading">Lagerbestand</th>
39 <th class="listheading">Entnahmemenge</th>
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>
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 %]
66 <input type="hidden" name="rowcount" value="[% CONTENTS.size %]">
68 <tr><td colspan="7"><hr size="3" noshade></td></tr>
74 <input type="submit" class="submit" name="action" value="Weiter">