mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Invoice cancelling
This commit is contained in:
parent
56d7f9f2e2
commit
a26ce110b2
17 changed files with 113 additions and 25 deletions
|
@ -734,3 +734,8 @@ en:
|
|||
expiry: 'Expiry'
|
||||
failed_to_create_crt_csr_already_signed: 'Failed to create certificate: CSR is already signed'
|
||||
certificates: 'Certificates'
|
||||
cancel: 'Cancel'
|
||||
cancelled: 'Cancelled'
|
||||
cancel_date: 'Cancel date'
|
||||
cannot_cancel_paid_invoice: 'Cannot cancel paid invoice'
|
||||
cannot_bind_cancelled_invoice: 'Cannot bind cancelled invoice'
|
||||
|
|
|
@ -21,8 +21,11 @@ Rails.application.routes.draw do
|
|||
root 'polls#show'
|
||||
|
||||
resources :invoices do
|
||||
get 'download_pdf', on: :member
|
||||
match 'forward', on: :member, via: [:post, :get]
|
||||
member do
|
||||
get 'download_pdf'
|
||||
match 'forward', via: [:post, :get]
|
||||
patch 'cancel'
|
||||
end
|
||||
end
|
||||
|
||||
resources :deposits
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue