mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Fix CC issues
This commit is contained in:
parent
e61601fdd7
commit
15470b7ec4
2 changed files with 3 additions and 7 deletions
|
@ -38,11 +38,7 @@ class BankTransaction < ApplicationRecord
|
|||
return unless invoice
|
||||
return unless invoice.payable?
|
||||
|
||||
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