diff --git a/src/main/resources/static/app/controllers.js b/src/main/resources/static/app/controllers.js index 4c2fd01..1b4f4d1 100644 --- a/src/main/resources/static/app/controllers.js +++ b/src/main/resources/static/app/controllers.js @@ -472,8 +472,8 @@ transactionControllers.controller('ImportListCtrl', [ '$scope', '$resource', '$l if (match && $scope.matchers[j].textMatcher) match = $scope.matchers[j].textMatcher($scope.csv[i][3]); if (match && $scope.matchers[j].amountMatcher) - match = $scope.matchers[j].amountMatcher($scope.csv[i][4].toString().replace(',', '.')); - + match = $scope.matchers[j].amountMatcher($scope.csv[i][4].toString().replace('.', '').replace(',', '.')); + if (match) { $scope.csv[i].targetDescription = $scope.matchers[j].targetDescription; $scope.csv[i].matcherPosition = $scope.matchers[j].position;