Refactored finance/ordergroups|transactions module.
This commit is contained in:
parent
fc1d130113
commit
ea6348bc5c
38 changed files with 967 additions and 443 deletions
|
|
@ -163,6 +163,7 @@ de:
|
|||
stock_article: Lagerartikel
|
||||
delivery: Lieferung
|
||||
stock_taking: Inventur
|
||||
financial_transaction: Kontotransaktion
|
||||
attributes:
|
||||
article:
|
||||
price: Nettopreis
|
||||
|
|
@ -215,6 +216,8 @@ de:
|
|||
email: 'E-Mail'
|
||||
note: 'Notiz'
|
||||
date: 'Datum'
|
||||
ordergroup: 'Bestellgruppe'
|
||||
amount: 'Betrag'
|
||||
workgroup:
|
||||
weekly_task: 'Monatlichen Job definieren?'
|
||||
weekday: 'Wochentag'
|
||||
|
|
|
|||
|
|
@ -115,12 +115,12 @@ Foodsoft::Application.routes.draw do
|
|||
|
||||
resources :invoices
|
||||
|
||||
resources :transactions do
|
||||
collection do
|
||||
get :new_collection
|
||||
post :create_collection
|
||||
end
|
||||
resources :ordergroups, :only => [:index] do
|
||||
resources :financial_transactions, :as => :transactions
|
||||
end
|
||||
|
||||
get 'transactions/new_collection' => 'financial_transactions#new_collection', :as => 'new_transaction_collection'
|
||||
post 'transactions/create_collection' => 'financial_transactions#create_collection', :as => 'create_transaction_collection'
|
||||
end
|
||||
|
||||
########### Administration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue