1 [%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%][%- USE T8 -%]
3 [%- IF AUTH.assert('warehouse_management', 1) -%]
6 <span><a href="controller.pl?action=Inventory/stock_in&part_id=[% HTML.escape(SELF.part.id)%]&select_default_bin=1">[% 'Stock' | $T8 %]</a></span>
7 <span><a href="wh.pl?trans_type=transfer&action=transfer_warehouse_selection&parts_id=[% HTML.escape(SELF.part.id) %]">[% 'Transfer' | $T8 %]</a></span>
8 <span><a href="wh.pl?action=transfer_warehouse_selection&trans_type=removal&parts_id=[% HTML.escape(SELF.part.id) %]">[% 'Removal' | $T8 %]</a></span>
12 <div id="inventory_data">
15 <script type='text/javascript'>
17 $('.tabwidget').on('tabsbeforeactivate', function(event, ui){
18 if (ui.newPanel.attr('id') == 'inventory') {
20 url: 'controller.pl?action=Part/inventory&id=[% SELF.part.id %]',
21 success: function (html) {
22 $("#inventory_data").html(html);