From dcbe836b1aa8fb3cf89775d777e299c5743119e4 Mon Sep 17 00:00:00 2001 From: Tilman Liero Date: Thu, 4 Aug 2016 21:19:08 +0200 Subject: [PATCH] amend --- src/main/resources/static/app/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/app/controllers.js b/src/main/resources/static/app/controllers.js index 1b4f4d1..2225846 100644 --- a/src/main/resources/static/app/controllers.js +++ b/src/main/resources/static/app/controllers.js @@ -495,7 +495,7 @@ transactionControllers.controller('ImportListCtrl', [ '$scope', '$resource', '$l var newTransaction = new Transaction({ "account" : $scope.account._links.self.href, - "amount" : line[4].replace(',', '.'), + "amount" : line[4].replace('.', '').replace(',', '.'), "date" : new Date(line[1].substr(6,4) + "-" + line[1].substr(3,2) + "-" + line[1].substr(0,2)), "description" : line.targetDescription != undefined ? line.targetDescription : '', "category" : line.targetCategory._links.self.href,