Spent amount / withdrawals are negative, #129.

This commit is contained in:
James Cole 2015-12-12 08:15:14 +01:00
parent e044199693
commit e59fd098a3

View File

@ -10,11 +10,11 @@
</tr>
<tr>
<td>{{ 'out'|_ }}</td>
<td><span class="text-danger">{{ (expenses.getTotal)|formatAmountPlain }}</span></td>
<td>{{ (expenses.getTotal)|formatAmount }}</td>
</tr>
<tr>
<td>{{ 'difference'|_ }}</td>
<td>{{ (incomes.getTotal + (expenses.getTotal * -1))|formatAmount }}</td>
<td>{{ (incomes.getTotal + expenses.getTotal)|formatAmount }}</td>
</tr>
</table>
</div>