From c9ac30715326ff609ec5d48031c803c426ff392a Mon Sep 17 00:00:00 2001 From: Tilman Liero Date: Thu, 4 Aug 2016 21:12:15 +0200 Subject: [PATCH] amend --- src/main/resources/static/app/controllers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;