Fix display of amount. See issue #129

This commit is contained in:
James Cole
2015-12-11 18:15:37 +01:00
parent 4a2823bcba
commit 28c3cfe084
3 changed files with 4 additions and 4 deletions

View File

@@ -16,14 +16,14 @@
<td>
<a href="{{ route('categories.show',cat.id) }}">{{ cat.name }}</a>
</td>
<td><span class="text-danger">{{ (cat.spent * -1)|formatAmountPlain }}</span></td>
<td>{{ cat.spent|formatAmount }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td><em>{{ 'sum'|_ }}</em></td>
<td class="text-danger">{{ (categories.getTotal * -1)|formatAmountPlain }}</td>
<td>{{ categories.getTotal|formatAmount }}</td>
</tr>
</tfoot>
</table>