mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
implement paid cancel
This commit is contained in:
parent
a1c38fb1cc
commit
af8bc41556
4 changed files with 29 additions and 0 deletions
|
@ -231,6 +231,10 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
resources :invoices, except: %i[edit update destroy] do
|
||||
collection do
|
||||
# get ':id/cancel_paid', to: 'invoices#cancel_paid', as: 'get_cancel_paid'
|
||||
post ':id/cancel_paid', to: 'invoices#cancel_paid', as: 'cancel_paid'
|
||||
end
|
||||
resource :delivery, controller: 'invoices/delivery', only: %i[new create]
|
||||
|
||||
member do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue