From 75d5f496ed78d502be7b8008b798b04b0db38e1c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 1 Oct 2018 20:44:29 -0300 Subject: [PATCH] Bug 21467: Add treetable to subscription detail to group orders by parent ordernumber MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../en/modules/serials/subscription-detail.tt | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index 1c15bd37c2..2c68488293 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -11,6 +11,7 @@ Koha › Serials › Details for subscription #[% subscriptionid | html %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") | $raw %] +[% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") | $raw %] @@ -357,6 +358,7 @@ + Timestamp Invoice Basket Order number @@ -372,7 +374,12 @@ [% FOR order IN orders %] - + [% IF order.parent_ordernumber != order.ordernumber %] + + [% ELSE %] + + [% END %] + [% order.timestamp | html %] [% IF order.invoice %] [% IF CAN_user_acquisition %] @@ -440,6 +447,7 @@ [% Asset.js("js/serials-toolbar.js") | $raw %] [% INCLUDE 'datatables.inc' %] + [% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") | $raw %] [% INCLUDE 'columns_settings.inc' %]