diff --git a/src/converters/rabobankConverter.ts b/src/converters/rabobankConverter.ts index 514f057..f12447d 100644 --- a/src/converters/rabobankConverter.ts +++ b/src/converters/rabobankConverter.ts @@ -34,12 +34,12 @@ export class RabobankConverter extends AbstractConverter { if (context.column === "type") { const action = columnValue.toLocaleLowerCase(); - if (action.indexOf("koop fondsen") > -1) { - return "buy"; - } - else if (action.indexOf("verkoop fondsen") > -1) { + if (action.indexOf("verkoop fondsen") > -1) { return "sell"; } + else if (action.indexOf("koop fondsen") > -1) { + return "buy"; + } else if (action.indexOf("dividend") > -1) { return "dividend"; }