Should fix a bug in Travis.

This commit is contained in:
James Cole 2016-02-05 21:29:03 +01:00
parent bac392d331
commit 030d241130

View File

@ -27,7 +27,11 @@
<a href="{{ route('budgets.show',balanceLine.getBudget.id) }}">{{ balanceLine.getTitle }}</a>
</td>
<td>
{{ balanceLine.getBudget.amount|formatAmount }}
{% if(balanceLine.getBudget.amount) %}
{{ balanceLine.getBudget.amount|formatAmount }}
{% else %}
{{ '0'|formatAmount }}
{% endif %}
</td>
{% else %}
<td colspan="2">{{ balanceLine.getTitle }}</td>