mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-10 07:55:21 +02:00
Fix valuations reference
This commit is contained in:
parent
d206125169
commit
ab371c1b29
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class Account < ApplicationRecord
|
|||
end
|
||||
|
||||
def first_valuation
|
||||
entries.account_valuations.order(:date).first
|
||||
entries.valuations.order(:date).first
|
||||
end
|
||||
|
||||
def first_valuation_amount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue