mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Invoice cancelling
This commit is contained in:
parent
56d7f9f2e2
commit
a26ce110b2
17 changed files with 113 additions and 25 deletions
|
@ -12,7 +12,7 @@ class Admin::BankTransactionsController < AdminController
|
|||
end
|
||||
|
||||
def bind
|
||||
if @bank_transaction.bind_invoice(params[:invoice_id])
|
||||
if @bank_transaction.bind_invoice(params[:invoice_no])
|
||||
flash[:notice] = I18n.t('record_created')
|
||||
redirect_to [:admin, @bank_transaction]
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue