Fix typo and hence cash transaction cancel

This commit is contained in:
Antonin Reitz 2019-11-25 23:31:26 +01:00
parent 14164ec4a5
commit b90e749a7f

View file

@ -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);
}