shop code
This commit is contained in:
@@ -25,7 +25,6 @@ class Inventory::StockCheckItemsController < BaseInventoryController
|
||||
# POST /stock_check_items.json
|
||||
def create
|
||||
@stock_check_item = StockCheckItem.new(stock_check_item_params)
|
||||
|
||||
respond_to do |format|
|
||||
if @stock_check_item.save
|
||||
format.html { redirect_to inventory_stock_checks_path, notice: 'Stock check item was successfully created.' }
|
||||
@@ -61,12 +60,6 @@ class Inventory::StockCheckItemsController < BaseInventoryController
|
||||
end
|
||||
end
|
||||
|
||||
#Shop Name in Navbor
|
||||
helper_method :shop_detail
|
||||
def shop_detail
|
||||
@shop = Shop.first
|
||||
end
|
||||
|
||||
private
|
||||
# Use callbacks to share common setup or constraints between actions.
|
||||
def set_stock_check_item
|
||||
|
||||
Reference in New Issue
Block a user