Überflüssige "jquery-ui"-Einbindungen gelöscht
[kivitendo-erp.git] / templates / webpages / am / list_warehouses.html
1 [%- USE T8 %][% USE LxERP %][% USE L %]
2 [% USE HTML %]
3
4  [% IF saved_message %]<p>[% saved_message %]</p>[% END %]
5
6  <div class="listtop">[% title %]</div>
7
8  <p>
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>
15    </tr>
16
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>
23    </tr>
24    [% END %]
25   </table>
26  </p>
27
28  <hr height="3">
29
30  <p>
31   <a href="am.pl?action=add&type=warehouse&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
32  </p>
33
34  [% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %]