Introduced StockChange. Implemented first part of stockit-logic with updating article's quantity.
This commit is contained in:
parent
7ff0467b16
commit
b38025869a
27 changed files with 233 additions and 123 deletions
|
|
@ -17,9 +17,9 @@ ActionController::Routing::Routes.draw do |map|
|
|||
finance.connect 'balancing/:action/:id', :controller => 'balancing'
|
||||
end
|
||||
|
||||
map.resources :suppliers,
|
||||
:has_many => [:deliveries],
|
||||
:collection => { :shared_suppliers => :get }
|
||||
map.resources :suppliers, :collection => { :shared_suppliers => :get } do |suppliers|
|
||||
suppliers.resources :deliveries, :member => { :drop_stock_change => :post }
|
||||
end
|
||||
|
||||
map.root :controller => 'home', :action => 'index'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue