1 [%- USE T8 %][% USE LxERP %][% USE L %]
4 [% IF saved_message %]<p>[% saved_message %]</p>[% END %]
6 <div class="listtop">[% title %]</div>
9 <table width="100%" id="warehouse_list">
10 <tr class="listheading">
11 <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
12 <th width="70%">[% 'Description' | $T8 %]</th>
13 <th width="20%">[% 'Number of bins' | $T8 %]</th>
14 <th width="10%">[% 'Invalid' | $T8 %]</th>
17 [% FOREACH warehouse = WAREHOUSES %]
18 <tr class="listrow[% loop.count % 2 %]" id="warehouse_id_[% warehouse.id %]">
19 <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
20 <td><a href="[% url_base %]&action=edit_warehouse&id=[% HTML.url(warehouse.id) %]">[% HTML.escape(warehouse.description) %]</a></td>
21 <td>[% HTML.escape(warehouse.number_of_bins) %]</td>
22 <td>[% IF warehouse.invalid %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %]</td>
31 <a href="am.pl?action=add&type=warehouse&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
34 [% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %]