wip multi orders
This commit is contained in:
parent
fd769509af
commit
f676497e43
29 changed files with 939 additions and 107 deletions
|
|
@ -100,6 +100,8 @@ de:
|
|||
links:
|
||||
actions_for_all: Aktion für alle ausführen
|
||||
delete: Rechnung löschen
|
||||
create_cumulative_invoice: Kumulative Rechnung erstellen
|
||||
combine: Rechnungen zusammenfassen
|
||||
download: Rechnung herunterladen
|
||||
download_all_zip: Alle Rechnungen herunterladen (zip)
|
||||
generate: Rechnung erzeugen
|
||||
|
|
|
|||
|
|
@ -99,6 +99,8 @@ en:
|
|||
FNAL: "Final Direct Debit"
|
||||
links:
|
||||
actions_for_all: Actions for all group orders
|
||||
create_cumulative_invoice: create cumulative invoice
|
||||
combine: combine invoices
|
||||
delete: delete invoice
|
||||
download: download invoice
|
||||
download_all_zip: download all invoices as zip
|
||||
|
|
|
|||
|
|
@ -152,6 +152,12 @@ Rails.application.routes.draw do
|
|||
|
||||
get 'orders/:order_id/group_order_invoices/download_all', to: 'group_order_invoices#download_all', as: 'download_all_group_order_invoices'
|
||||
|
||||
resources :ordergroup_invoices do
|
||||
member do
|
||||
get :download_collective
|
||||
end
|
||||
end
|
||||
|
||||
resources :group_order_invoices do
|
||||
member do
|
||||
patch :select_sepa_sequence_type
|
||||
|
|
@ -159,12 +165,19 @@ Rails.application.routes.draw do
|
|||
patch :toggle_sepa_downloaded
|
||||
end
|
||||
collection do
|
||||
get :download_within_date
|
||||
patch :select_all_sepa_sequence_type
|
||||
patch :toggle_all_sepa_downloaded
|
||||
patch :toggle_all_paid
|
||||
end
|
||||
end
|
||||
|
||||
resources :multi_orders, only: [:create, :show] do
|
||||
member do
|
||||
get :generate_ordergroup_invoices
|
||||
end
|
||||
end
|
||||
|
||||
resources :article_categories
|
||||
|
||||
########### Finance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue