From 94e8e9aa5d6704ec6c120a6b05383a3235cf845c 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=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer --- .../prog/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 f37f5e4e51..1dcac0f3f9 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' %]