Fix balance view [skip ci]

This commit is contained in:
James Cole 2017-04-19 16:32:12 +02:00
parent 7867f26120
commit f4786c3ec8
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -29,8 +29,8 @@
{% endif %}
</td>
<td style="text-align: right;">
{% if(balanceLine.getBudget.amount) %}
{{ balanceLine.getBudget.amount|formatAmount }}
{% if(balanceLine.getBudgetLimit.amount) %}
{{ balanceLine.getBudgetLimit.amount|formatAmount }}
{% else %}
{{ '0'|formatAmount }}
{% endif %}
@ -46,7 +46,6 @@
<i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="balance-amount"
data-account-id="{{ balanceEntry.getAccount.id }}"
data-budget-id="{{ balanceLine.getBudget.id }}" data-role="{{ balanceLine.getRole }}"></i>
{% endif %}
{% if balanceEntry.getLeft != 0 %}
<span class="text-success" style="text-align: right;">{{ (balanceEntry.getLeft)|formatAmountPlain }}</span>