Browse Source
Update import-transactions.service.ts
Add dividend import
pull/556/head
Fly Man
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
apps/client/src/app/services/import-transactions.service.ts
|
@ -218,6 +218,8 @@ export class ImportTransactionsService { |
|
|
return Type.BUY; |
|
|
return Type.BUY; |
|
|
} else if (item[key].toLowerCase() === 'sell') { |
|
|
} else if (item[key].toLowerCase() === 'sell') { |
|
|
return Type.SELL; |
|
|
return Type.SELL; |
|
|
|
|
|
} else if (item[key].toLowerCase() === 'dividend') { |
|
|
|
|
|
return Type.DIVIDEND; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|