merge with august_spring
This commit is contained in:
@@ -297,6 +297,7 @@ Rails.application.routes.draw do
|
||||
resources :promotions do
|
||||
resources :promotion_products
|
||||
end
|
||||
get '/find_item_instance' => 'promotions#find_item_instance', as:'find_item_instance'
|
||||
|
||||
# commission
|
||||
resources :commissions
|
||||
@@ -340,9 +341,12 @@ Rails.application.routes.draw do
|
||||
# ----------- Inventory ---------------------------
|
||||
|
||||
namespace :inventory do
|
||||
get 'inventory' => 'inventory#index'
|
||||
resources :stock_check_items
|
||||
resources :stock_checks
|
||||
get '/' => 'inventory#index'
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user