From b90e749a7f31e7bf5b33552a7d9f6982d9119cc5 Mon Sep 17 00:00:00 2001 From: Antonin Reitz Date: Mon, 25 Nov 2019 23:31:26 +0100 Subject: [PATCH] Fix typo and hence cash transaction cancel --- kfet/static/kfet/js/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/static/kfet/js/history.js b/kfet/static/kfet/js/history.js index 7807ee90..a7372b87 100644 --- a/kfet/static/kfet/js/history.js +++ b/kfet/static/kfet/js/history.js @@ -137,7 +137,7 @@ function KHistory(options = {}) { var $opegroup = this.findOpeGroup(opegroup['id']); var trigramme = $opegroup.find('.trigramme').text(); var amount = amountDisplay( - parseFloat(opegroup['amount'], opegroup['is_cof'], trigramme)); + parseFloat(opegroup['amount']), opegroup['is_cof'], trigramme); $opegroup.find('.amount').text(amount); }