inventory definition.coffee

This commit is contained in:
yamin
2017-10-23 11:40:37 +06:30
69 changed files with 869 additions and 946 deletions

View File

@@ -1,4 +1,4 @@
class Inventory::InventoryController < ApplicationController#BaseInventoryController
class Inventory::InventoryController < BaseInventoryController
def index
@products = InventoryDefinition.all.active.order('created_at desc')

View File

@@ -1,4 +1,4 @@
class Inventory::InventoryDefinitionsController < ApplicationController#BaseInventoryController
class Inventory::InventoryDefinitionsController < BaseInventoryController
before_action :set_inventory_definition, only: [:show, :edit, :update, :destroy]
# GET /inventory_definitions

View File

@@ -1,4 +1,4 @@
class Inventory::StockCheckItemsController < ApplicationController#BaseInventoryController
class Inventory::StockCheckItemsController < BaseInventoryController
before_action :set_stock_check_item, only: [:show, :edit, :update, :destroy]
# GET /stock_check_items

View File

@@ -1,4 +1,4 @@
class Inventory::StockChecksController < ApplicationController#BaseInventoryController
class Inventory::StockChecksController < BaseInventoryController
def index
@check = StockCheck.new
@inventory_definitions = InventoryDefinition.active.all