Benjamin Renard commited on 2014-01-17 23:22:22
Showing 1 changed files, with 1 additions and 1 deletions.
... | ... |
@@ -405,7 +405,7 @@ display_balance=function(group) { |
405 | 405 |
else { |
406 | 406 |
diff='<td><span class="glyphicon glyphicon-thumbs-up"></span></td>'; |
407 | 407 |
} |
408 |
- tbody.append('<tr><td>'+c+'</td><td>'+bal['balance'][c]['total']+' €</td>'+diff+'</tr>'); |
|
408 |
+ tbody.append('<tr><td>'+c+'</td><td>'+bal['balance'][c]['total'].toFixed(2)+' €</td>'+diff+'</tr>'); |
|
409 | 409 |
} |
410 | 410 |
$('#display_balance_modal #total-value').html(bal.sum.toFixed(2)+' €'); |
411 | 411 |
$('#display_balance_modal').modal('show'); |
412 | 412 |