Account namespace updates: part 5 (valuations) (#901)

* Move Valuation to Account namespace

* Move account history to controller

* Clean up valuation controller and views

* Translations and cleanup

* Remove unused scopes and methods

* Pass brakeman
This commit is contained in:
Zach Gollwitzer
2024-06-21 16:23:28 -04:00
committed by GitHub
parent 0bc0d87768
commit 12380dc8ad
45 changed files with 478 additions and 346 deletions

View File

@@ -1,55 +0,0 @@
# For collectable account that only has valuations (no transactions)
collectable_one:
value: 550
date: <%= 4.days.ago.to_date %>
account: collectable
collectable_two:
value: 700
date: <%= 12.days.ago.to_date %>
account: collectable
collectable_three:
value: 400
date: <%= 31.days.ago.to_date %>
account: collectable
iou_one:
value: 200
date: <%= 31.days.ago.to_date %>
account: iou
multi_currency_one:
value: 10200
date: <%= 31.days.ago.to_date %>
account: multi_currency
savings_one:
value: 19500
date: <%= 12.days.ago.to_date %>
account: savings
savings_two:
value: 21000
date: <%= 25.days.ago.to_date %>
account: savings
brokerage_one:
value: 10000
date: <%= 31.days.ago.to_date %>
account: brokerage
mortgage_loan_one:
value: 500000
date: <%= 31.days.ago.to_date %>
account: mortgage_loan
house_one:
value: 550000
date: <%= 31.days.ago.to_date %>
account: house
car_one:
value: 18000
date: <%= 31.days.ago.to_date %>
account: car