From ec70fde5575270dbd91a268a814e6dd526e6d96a Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 25 Apr 2016 09:49:34 +0200 Subject: [PATCH] Start of some changes in budget overview related to #256 and #246 --- resources/views/budgets/index.twig | 40 +++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/resources/views/budgets/index.twig b/resources/views/budgets/index.twig index b2b1b704da..bc06065233 100644 --- a/resources/views/budgets/index.twig +++ b/resources/views/budgets/index.twig @@ -99,10 +99,10 @@ - +

Bla bla bla

{% for budget in budgets %} -
+

@@ -130,7 +130,12 @@
- + - + + + + +
{{ 'budgeted'|_ }} + {{ 'budgeted'|_ }} +
+ {{ session('start').formatLocalized(monthAndDayFormat) }} - + {{ session('start').formatLocalized(monthAndDayFormat) }}
+
@@ -140,13 +145,40 @@ data-id="{{ budget.id }}" value="{{ budget.currentRep.amount|number_format(0,'','') }}" autocomplete="off" step="1" min="0" max="{{ budgetMaximum }}" name="amount" type="number">
+
+ + +
{{ 'spent'|_ }} + {{ 'spent'|_ }} +
+ {{ session('start').formatLocalized(monthAndDayFormat) }} - + {{ session('start').formatLocalized(monthAndDayFormat) }} +
+
{{ budget.spent|formatAmount }}
+ + Conflicts + + +
    +
  • Also budgeted {{ 123|formatAmount }} between x and y.
  • +
  • Also budgeted {{ 123|formatAmount }} between x and y.
  • +
+