Bugfix/fix import for activities of type fee and interest (#2474)

* Fix import for activities of type fee and interest

* Update changelog
pull/2478/head
Thomas Kaul 1 year ago committed by GitHub
parent 8634463597
commit 827270704a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the language localization for German (`de`)
- Upgraded `prisma` from version `5.3.1` to `5.4.2`
### Fixed
- Fixed `FEE` and `INTEREST` types in the activities import of `csv` files
## 2.10.0 - 2023-10-09
### Added

@ -337,6 +337,10 @@ export class ImportActivitiesService {
return Type.BUY;
case 'dividend':
return Type.DIVIDEND;
case 'fee':
return Type.FEE;
case 'interest':
return Type.INTEREST;
case 'item':
return Type.ITEM;
case 'liability':

@ -1,5 +1,6 @@
Date,Code,Currency,Price,Quantity,Action,Fee,Note
16-09-2021,MSFT,USD,298.580,5,buy,19.00,My first order 🤓
17/11/2021,MSFT,USD,0.62,5,dividend,0.00
01.01.2022,Penthouse Apartment,USD,500000.0,1,item,0.00
20500606,MSFT,USD,0.00,0,buy,0.00
Date,Code,DataSource,Currency,Price,Quantity,Action,Fee,Note
01-09-2021,Account Opening Fee,MANUAL,USD,0,0,fee,49,
16-09-2021,MSFT,YAHOO,USD,298.580,5,buy,19.00,My first order 🤓
17/11/2021,MSFT,YAHOO,USD,0.62,5,dividend,0.00
01.01.2022,Penthouse Apartment,MANUAL,USD,500000.0,1,item,0.00
20500606,MSFT,YAHOO,USD,0.00,0,buy,0.00

1 Date,Code,Currency,Price,Quantity,Action,Fee,Note Date,Code,DataSource,Currency,Price,Quantity,Action,Fee,Note
2 16-09-2021,MSFT,USD,298.580,5,buy,19.00,My first order 🤓 01-09-2021,Account Opening Fee,MANUAL,USD,0,0,fee,49,
3 17/11/2021,MSFT,USD,0.62,5,dividend,0.00 16-09-2021,MSFT,YAHOO,USD,298.580,5,buy,19.00,My first order 🤓
4 01.01.2022,Penthouse Apartment,USD,500000.0,1,item,0.00 17/11/2021,MSFT,YAHOO,USD,0.62,5,dividend,0.00
5 20500606,MSFT,USD,0.00,0,buy,0.00 01.01.2022,Penthouse Apartment,MANUAL,USD,500000.0,1,item,0.00
6 20500606,MSFT,YAHOO,USD,0.00,0,buy,0.00
Loading…
Cancel
Save