1 [%- USE T8 %][% USE LxERP %][% USE L %]
4 <script type="text/javascript" src="js/jquery-ui.js"></script>
8 [% IF saved_message %]<p>[% saved_message %]</p>[% END %]
10 <div class="listtop">[% title %]</div>
13 <table width="100%" id="warehouse_list">
14 <tr class="listheading">
15 <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
16 <th width="70%">[% 'Description' | $T8 %]</th>
17 <th width="20%">[% 'Number of bins' | $T8 %]</th>
18 <th width="10%">[% 'Invalid' | $T8 %]</th>
21 [% FOREACH warehouse = WAREHOUSES %]
22 <tr class="listrow[% loop.count % 2 %]" id="warehouse_id_[% warehouse.id %]">
23 <td align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
24 <td><a href="[% url_base %]&action=edit_warehouse&id=[% HTML.url(warehouse.id) %]">[% HTML.escape(warehouse.description) %]</a></td>
25 <td>[% HTML.escape(warehouse.number_of_bins) %]</td>
26 <td>[% IF warehouse.invalid %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %]</td>
35 <form method="post" action="am.pl">
36 <input type="hidden" name="type" value="warehouse">
38 <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
42 [% L.sortable_element('#warehouse_list tbody', 'url' => 'controller.pl?action=Warehouse/reorder', 'with' => 'warehouse_id') %]