From 2a63888546b1613fe1675c14beb55c88044874eb Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 14 Jul 2017 17:10:06 +0200 Subject: [PATCH] Table is sortable, #697 --- resources/views/budgets/index.twig | 62 +++++++++++++++++------------- 1 file changed, 35 insertions(+), 27 deletions(-) diff --git a/resources/views/budgets/index.twig b/resources/views/budgets/index.twig index 87f9bb24ff..1753737b57 100644 --- a/resources/views/budgets/index.twig +++ b/resources/views/budgets/index.twig @@ -131,14 +131,14 @@

Budget stuff

- +
- - - - - + + + + + @@ -151,7 +151,7 @@ - - - - @@ -210,17 +213,22 @@ {% endif %} {% endblock %} - {% block scripts %} - +{% block styles %} + +{% endblock %} - - {% endblock %} +{% block scripts %} + + + +{% endblock %}
{{ 'budget'|_ }}{{ 'budgeted'|_ }}{{ 'budget'|_ }}{{ 'budgeted'|_ }}
+ {% if budgetInformation[budget.id]['currentLimit'] %} {{ budget.name }} {% endif %} + {% if budgetInformation[budget.id]['currentLimit'] %} + {% set repAmount = budgetInformation[budget.id]['currentLimit'].amount %} + {% else %} + {% set repAmount = '0' %} + {% endif %} + +
{{ defaultCurrency.symbol|raw }}
- {% if budgetInformation[budget.id]['currentLimit'] %} - {% set repAmount = budgetInformation[budget.id]['currentLimit'].amount %} - {% else %} - {% set repAmount = '0' %} - {% endif %}