Browse Source

Merge branch 'main' into translate-zh-fee-ratio

pull/6348/head
Thomas Kaul 1 month ago
committed by GitHub
parent
commit
b402f408e0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 7
      apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts

4
CHANGELOG.md

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the language localization for Chinese (`zh`) - Improved the language localization for Chinese (`zh`)
### Fixed
- Fixed an issue when creating activities of type `FEE`, `INTEREST` or `LIABILITY`
## 2.242.0 - 2026-02-22 ## 2.242.0 - 2026-02-22
### Changed ### Changed

7
apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts

@ -501,11 +501,12 @@ export class GfCreateOrUpdateActivityDialogComponent implements OnDestroy {
comment: this.activityForm.get('comment').value || null, comment: this.activityForm.get('comment').value || null,
currency: this.activityForm.get('currency').value, currency: this.activityForm.get('currency').value,
customCurrency: this.activityForm.get('currencyOfUnitPrice').value, customCurrency: this.activityForm.get('currencyOfUnitPrice').value,
date: this.activityForm.get('date').value, dataSource: ['FEE', 'INTEREST', 'LIABILITY', 'VALUABLE'].includes(
dataSource: this.activityForm.get('type').value
this.activityForm.get('type').value === 'VALUABLE' )
? 'MANUAL' ? 'MANUAL'
: this.activityForm.get('dataSource').value, : this.activityForm.get('dataSource').value,
date: this.activityForm.get('date').value,
fee: this.activityForm.get('fee').value, fee: this.activityForm.get('fee').value,
quantity: this.activityForm.get('quantity').value, quantity: this.activityForm.get('quantity').value,
symbol: symbol:

Loading…
Cancel
Save