mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
Fix mode bug
This commit is contained in:
parent
263d65ea7e
commit
3c0fdd84ee
9 changed files with 26 additions and 4 deletions
|
@ -23,6 +23,10 @@ class Property < ApplicationRecord
|
|||
"#06AED4"
|
||||
end
|
||||
|
||||
def mode_required?
|
||||
false
|
||||
end
|
||||
|
||||
private
|
||||
def first_valuation_amount
|
||||
account.entries.account_valuations.order(:date).first&.amount_money || account.balance_money
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue