mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-20 13:49:39 +02:00
* Plaid sync tests and multi-currency investment support * Fix system test * Cleanup * Remove data migration
26 lines
584 B
Ruby
26 lines
584 B
Ruby
class Investment < ApplicationRecord
|
|
include Accountable
|
|
|
|
SUBTYPES = [
|
|
[ "Brokerage", "brokerage" ],
|
|
[ "Pension", "pension" ],
|
|
[ "Retirement", "retirement" ],
|
|
[ "401(k)", "401k" ],
|
|
[ "Traditional 401(k)", "traditional_401k" ],
|
|
[ "Roth 401(k)", "roth_401k" ],
|
|
[ "529 Plan", "529_plan" ],
|
|
[ "Health Savings Account", "hsa" ],
|
|
[ "Mutual Fund", "mutual_fund" ],
|
|
[ "Traditional IRA", "traditional_ira" ],
|
|
[ "Roth IRA", "roth_ira" ],
|
|
[ "Angel", "angel" ]
|
|
].freeze
|
|
|
|
def color
|
|
"#1570EF"
|
|
end
|
|
|
|
def icon
|
|
"line-chart"
|
|
end
|
|
end
|