mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Support multi-currency transfers (#1175)
This commit is contained in:
parent
c28dd8f940
commit
949d3d80fa
10 changed files with 5 additions and 18 deletions
|
@ -204,7 +204,6 @@ class Account::Entry < ApplicationRecord
|
|||
current_qty = account.holding_qty(account_trade.security)
|
||||
|
||||
if current_qty < account_trade.qty.abs
|
||||
# i18n-tasks-use t('activerecord.errors.models.account/entry.attributes.base.invalid_sell_quantity')
|
||||
errors.add(
|
||||
:base,
|
||||
:invalid_sell_quantity,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue