Small additions to budget handling [skip ci]

This commit is contained in:
James Cole
2016-04-25 20:05:09 +02:00
parent eb5e55a272
commit a94d476b75
3 changed files with 20 additions and 0 deletions

View File

@@ -25,11 +25,13 @@
{% if balanceLine.getBudget.id %}
<td>
<a href="{{ route('budgets.show',balanceLine.getBudget.id) }}">{{ balanceLine.getTitle }}</a>
{% if balanceLine.getStartdate and balanceLine.getEnddate %}
<span class="small"><br>
{{ balanceLine.getStartdate.formatLocalized(monthAndDayFormat) }}
&mdash;
{{ balanceLine.getEnddate.formatLocalized(monthAndDayFormat) }}
</span>
{% endif %}
</td>
<td>
{% if(balanceLine.getBudget.amount) %}