Allow editing of linked deliveries and orders at invoice

This commit is contained in:
Patrick Gansterer 2016-03-11 13:23:13 +01:00
parent 14e2fd179e
commit efb929e64f
12 changed files with 72 additions and 34 deletions

View file

@ -156,7 +156,9 @@ Foodsoft::Application.routes.draw do
end
end
resources :invoices
resources :invoices do
get :form_on_supplier_id_change, on: :collection
end
resources :ordergroups, only: [:index] do
resources :financial_transactions, as: :transactions