amend
This commit is contained in:
@@ -472,8 +472,8 @@ transactionControllers.controller('ImportListCtrl', [ '$scope', '$resource', '$l
|
|||||||
if (match && $scope.matchers[j].textMatcher)
|
if (match && $scope.matchers[j].textMatcher)
|
||||||
match = $scope.matchers[j].textMatcher($scope.csv[i][3]);
|
match = $scope.matchers[j].textMatcher($scope.csv[i][3]);
|
||||||
if (match && $scope.matchers[j].amountMatcher)
|
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) {
|
if (match) {
|
||||||
$scope.csv[i].targetDescription = $scope.matchers[j].targetDescription;
|
$scope.csv[i].targetDescription = $scope.matchers[j].targetDescription;
|
||||||
$scope.csv[i].matcherPosition = $scope.matchers[j].position;
|
$scope.csv[i].matcherPosition = $scope.matchers[j].position;
|
||||||
|
|||||||
Reference in New Issue
Block a user