Fixed total float number display in balance screen
This commit is contained in:
parent
0b0fb2dcb0
commit
fd422f0643
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ display_balance=function(group) {
|
|||
else {
|
||||
diff='<td><span class="glyphicon glyphicon-thumbs-up"></span></td>';
|
||||
}
|
||||
tbody.append('<tr><td>'+c+'</td><td>'+bal['balance'][c]['total']+' €</td>'+diff+'</tr>');
|
||||
tbody.append('<tr><td>'+c+'</td><td>'+bal['balance'][c]['total'].toFixed(2)+' €</td>'+diff+'</tr>');
|
||||
}
|
||||
$('#display_balance_modal #total-value').html(bal.sum.toFixed(2)+' €');
|
||||
$('#display_balance_modal').modal('show');
|
||||
|
|
Loading…
Reference in a new issue