mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Add account balance REPP
This commit is contained in:
parent
35513b83bf
commit
4a6c1f4166
17 changed files with 111 additions and 27 deletions
|
@ -101,7 +101,7 @@ namespace :import do
|
|||
|
||||
Registrar.all.each do |x|
|
||||
next if x.cash_account
|
||||
x.accounts.create(account_type: Account::CASH)
|
||||
x.accounts.create(account_type: Account::CASH, currency: 'EUR')
|
||||
x.save(validate: false)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue