mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
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:
55
test/fixtures/valuations.yml
vendored
55
test/fixtures/valuations.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user