mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Fix some CC issues
This commit is contained in:
parent
c7d768fbed
commit
20e3b2c09f
1 changed files with 1 additions and 5 deletions
|
@ -41,11 +41,7 @@ class BankTransaction < ApplicationRecord
|
|||
def autobind_invoice(manual: false)
|
||||
return unless autobindable?
|
||||
|
||||
channel = if manual
|
||||
'admin_payment'
|
||||
else
|
||||
'system_payment'
|
||||
end
|
||||
channel = manual ? 'admin_payment' : 'system_payment'
|
||||
create_internal_payment_record(channel: channel, invoice: invoice,
|
||||
registrar: registrar)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue