firefly-iii/resources/twig/partials/reports/income-vs-expenses.twig

21 lines
663 B
Twig
Raw Normal View History

2015-05-16 06:53:08 -05:00
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-fw fa-exchange"></i>
{{ 'incomeVsExpenses'|_ }}
</div>
<table class="table table-bordered table-striped">
<tr>
<td>{{ 'in'|_ }}</td>
<td>{{ incomes.getTotal|formatAmount }}</td>
</tr>
<tr>
<td>{{ 'out'|_ }}</td>
<td><span class="text-danger">{{ (expenses.getTotal * -1)|formatAmountPlain }}</span></td>
2015-05-16 06:53:08 -05:00
</tr>
<tr>
<td>{{ 'difference'|_ }}</td>
<td>{{ (incomes.getTotal + expenses.getTotal)|formatAmount }}</td>
2015-05-16 06:53:08 -05:00
</tr>
</table>
2015-05-20 12:56:14 -05:00
</div>