1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 23:59:40 +02:00

Vehicle view (#1117)

This commit is contained in:
Zach Gollwitzer 2024-08-23 09:33:42 -04:00 committed by GitHub
parent e856691c86
commit 359bceb58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 259 additions and 8 deletions

View file

@ -15,10 +15,6 @@ class Property < ApplicationRecord
first_valuation_amount
end
def equity_value
account.balance_money
end
def trend
TimeSeries::Trend.new(current: account.balance_money, previous: first_valuation_amount)
end