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)
|
def autobind_invoice(manual: false)
|
||||||
return unless autobindable?
|
return unless autobindable?
|
||||||
|
|
||||||
channel = if manual
|
channel = manual ? 'admin_payment' : 'system_payment'
|
||||||
'admin_payment'
|
|
||||||
else
|
|
||||||
'system_payment'
|
|
||||||
end
|
|
||||||
create_internal_payment_record(channel: channel, invoice: invoice,
|
create_internal_payment_record(channel: channel, invoice: invoice,
|
||||||
registrar: registrar)
|
registrar: registrar)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue