Browse Source
Feature/add loan as asset sub class (#6708)
* Add loan as asset sub class
* Update changelog
pull/6644/head
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
9 additions and
1 deletions
-
CHANGELOG.md
-
libs/common/src/lib/config.ts
-
libs/ui/src/lib/i18n.ts
-
prisma/migrations/20260409154017_added_loan_to_asset_sub_class/migration.sql
-
prisma/schema.prisma
|
|
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Added loan as an asset sub class |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Extended the asset profile details dialog in the admin control panel to support editing countries for all asset types |
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ export const ASSET_CLASS_MAPPING = new Map<AssetClass, AssetSubClass[]>([ |
|
|
|
AssetSubClass.STOCK |
|
|
|
] |
|
|
|
], |
|
|
|
[AssetClass.FIXED_INCOME, [AssetSubClass.BOND]], |
|
|
|
[AssetClass.FIXED_INCOME, [AssetSubClass.BOND, AssetSubClass.LOAN]], |
|
|
|
[AssetClass.LIQUIDITY, [AssetSubClass.CRYPTOCURRENCY]], |
|
|
|
[AssetClass.REAL_ESTATE, []] |
|
|
|
]); |
|
|
|
|
|
|
|
@ -56,6 +56,7 @@ const locales = { |
|
|
|
COLLECTIBLE: $localize`Collectible`, |
|
|
|
CRYPTOCURRENCY: $localize`Cryptocurrency`, |
|
|
|
ETF: $localize`ETF`, |
|
|
|
LOAN: $localize`Loan`, |
|
|
|
MUTUALFUND: $localize`Mutual Fund`, |
|
|
|
PRECIOUS_METAL: $localize`Precious Metal`, |
|
|
|
PRIVATE_EQUITY: $localize`Private Equity`, |
|
|
|
|
|
|
|
@ -0,0 +1,2 @@ |
|
|
|
-- AlterEnum |
|
|
|
ALTER TYPE "AssetSubClass" ADD VALUE 'LOAN'; |
|
|
|
@ -309,6 +309,7 @@ enum AssetSubClass { |
|
|
|
COMMODITY |
|
|
|
CRYPTOCURRENCY |
|
|
|
ETF |
|
|
|
LOAN |
|
|
|
MUTUALFUND |
|
|
|
PRECIOUS_METAL |
|
|
|
PRIVATE_EQUITY |
|
|
|
|