inventory list and stock check

This commit is contained in:
Zin Lin Phyo
2017-09-05 16:47:50 +06:30
parent 6c94ba5457
commit 31021813b0
10 changed files with 1038 additions and 503 deletions

View File

@@ -25,7 +25,7 @@ class Inventory::InventoryDefinitionsController < BaseInventoryController
# POST /inventory_definitions.json
def create
@inventory_definition = InventoryDefinition.new(inventory_definition_params)
@inventory_definition.created_by = current_user.id
respond_to do |format|
if @inventory_definition.save
format.html { redirect_to inventory_path, notice: 'Inventory definition was successfully created.' }