mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Fix mode bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user