Add FinancialLinks
For now this is only usefull for plugins, since there is no UI.
This commit is contained in:
parent
75deec9f06
commit
53bb096046
12 changed files with 95 additions and 7 deletions
|
|
@ -894,6 +894,9 @@ de:
|
|||
without_extra_charge: 'ohne Aufschlag:'
|
||||
create:
|
||||
notice: Rechnung wurde erstellt.
|
||||
financial_links:
|
||||
show:
|
||||
title: Finanzlink %{number}
|
||||
financial_transactions:
|
||||
controller:
|
||||
create:
|
||||
|
|
|
|||
|
|
@ -896,6 +896,9 @@ en:
|
|||
without_extra_charge: 'without extra charge:'
|
||||
create:
|
||||
notice: Invoice was created.
|
||||
financial_links:
|
||||
show:
|
||||
title: Financial link %{number}
|
||||
financial_transactions:
|
||||
controller:
|
||||
create:
|
||||
|
|
|
|||
|
|
@ -163,6 +163,8 @@ Foodsoft::Application.routes.draw do
|
|||
get :unpaid, on: :collection
|
||||
end
|
||||
|
||||
resources :links, controller: 'financial_links', only: [:show]
|
||||
|
||||
resources :ordergroups, only: [:index] do
|
||||
resources :financial_transactions, as: :transactions
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue