inventory

This commit is contained in:
Nweni
2017-08-30 14:19:24 +06:30
parent c9998c0b65
commit cabc78c373
21 changed files with 328 additions and 138 deletions

View File

@@ -328,8 +328,11 @@ Rails.application.routes.draw do
namespace :inventory do
get '/' => 'inventory#index'
resources :stock_check_items
resources :stock_checks
get '/stock_checks' => 'stock_checks#index'
post 'save_stock' => 'stock_checks#create', as:'stock_check_save'
get '/stock_checks/:id' => 'stock_checks#show'
post 'save_to_journal' => 'stock_checks#save_to_journal', as: 'save_to_journal'
# resources :stock_checks
resources :stock_journals
resources :inventory_definitions
end