diff --git a/app/views/inventory/inventory_definitions/_form.html.erb b/app/views/inventory/inventory_definitions/_form.html.erb index d99a4974..e4a48875 100644 --- a/app/views/inventory/inventory_definitions/_form.html.erb +++ b/app/views/inventory/inventory_definitions/_form.html.erb @@ -582,7 +582,7 @@ $('#back').on('click', function () { window.location.href = '/inventory'; - }); + }); }); \ No newline at end of file diff --git a/app/views/inventory/stock_checks/index.html.erb b/app/views/inventory/stock_checks/index.html.erb index 5577a8df..b2c353b2 100644 --- a/app/views/inventory/stock_checks/index.html.erb +++ b/app/views/inventory/stock_checks/index.html.erb @@ -36,7 +36,7 @@
-
@@ -127,6 +127,10 @@ }); //End menu category Click + $('#back').on('click', function () { + window.location.href = '/inventory'; + }); + //show menu item list when click menu category function show_menu_item_list(url_item,menu_id){ var menu_list = $('.menu_items_list');