Merge branch 'fix-cash-transaction-cancel' into 'master'

Fix typo and hence cash transaction cancel

Closes #239

See merge request klub-dev-ens/gestioCOF!384
This commit is contained in:
Ludovic Stephan 2019-11-27 13:32:23 +01:00
commit 4c9ee8a57d

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