From 46131ad39d083262078358def7a9e404c3a96a2b Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 4 Dec 2015 06:57:08 +0100 Subject: [PATCH] Updated view for new reports. --- resources/twig/reports/index.twig | 34 +++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/resources/twig/reports/index.twig b/resources/twig/reports/index.twig index c978055589..16a4390809 100644 --- a/resources/twig/reports/index.twig +++ b/resources/twig/reports/index.twig @@ -12,11 +12,10 @@

{{ 'reportsOwnAccounts'|_ }}

- - {% for year, entries in months %} + {% for year, data in months %}

{{ year }}

- - {% for year, entries in months %} + {% for year, data in months %}

{{ year }}

-
+ +
@@ -93,11 +92,29 @@
+
+ value="{{ Session.get('start').format('Y-m-d') }} - {{ Session.get('end').format('Y-m-d') }}">
+
+ + +
+ {% for year, data in months %} + {{ year }} + + {% endfor %} +
+
+
@@ -115,6 +132,7 @@ {% block scripts %}