Browse Source
Task/format value in Buying Power rule (#5824)
* Format value in Buying Power rule
* Update changelog
pull/5821/head^2
danielochinasa
7 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
7 additions and
2 deletions
-
CHANGELOG.md
-
apps/api/src/models/rules/liquidity/buying-power.ts
|
|
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Localized the number formatting in the static portfolio analysis rule: _Liquidity_ (Buying Power) |
|
|
|
- Upgraded `prisma` from version `6.17.1` to `6.18.0` |
|
|
|
|
|
|
|
## 2.210.1 - 2025-10-22 |
|
|
|
|
|
|
|
@ -40,7 +40,9 @@ export class BuyingPower extends Rule<Settings> { |
|
|
|
languageCode: this.getLanguageCode(), |
|
|
|
placeholders: { |
|
|
|
baseCurrency: ruleSettings.baseCurrency, |
|
|
|
thresholdMin: ruleSettings.thresholdMin |
|
|
|
thresholdMin: ruleSettings.thresholdMin.toLocaleString( |
|
|
|
ruleSettings.locale |
|
|
|
) |
|
|
|
} |
|
|
|
}), |
|
|
|
value: false |
|
|
|
@ -53,7 +55,9 @@ export class BuyingPower extends Rule<Settings> { |
|
|
|
languageCode: this.getLanguageCode(), |
|
|
|
placeholders: { |
|
|
|
baseCurrency: ruleSettings.baseCurrency, |
|
|
|
thresholdMin: ruleSettings.thresholdMin |
|
|
|
thresholdMin: ruleSettings.thresholdMin.toLocaleString( |
|
|
|
ruleSettings.locale |
|
|
|
) |
|
|
|
} |
|
|
|
}), |
|
|
|
value: true |
|
|
|
|