Benjamin Renard commited on 2014-01-17 23:26:11
Showing 1 changed files, with 1 additions and 1 deletions.
... | ... |
@@ -166,7 +166,7 @@ show_contributions=function(group,contributor_name) { |
166 | 166 |
sum=0; |
167 | 167 |
for (idx in contributions) { |
168 | 168 |
col_actions='<td><div class="btn-group" data-uuid="'+contributions[idx].uuid+'"><button type="button" class="btn btn-default contribution_edit_btn"><span class="glyphicon glyphicon-edit"></span></button><button type="button" class="btn btn-default contribution_delete_btn"><span class="glyphicon glyphicon-trash"></span></button></div></td>'; |
169 |
- tbody.append('<tr><td>'+contributions[idx].getTitle()+'</td><td>'+contributions[idx].cost+' €</td>'+col_actions+'</tr>'); |
|
169 |
+ tbody.append('<tr><td>'+contributions[idx].getTitle()+'</td><td>'+contributions[idx].cost.toFixed(2)+' €</td>'+col_actions+'</tr>'); |
|
170 | 170 |
sum+=contributions[idx].cost; |
171 | 171 |
} |
172 | 172 |
total.html(sum.toFixed(2)+' €'); |
173 | 173 |