From 31df3893376adcde95612f7eb4b6848114806fce Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 12:56:07 +0100 Subject: [PATCH] Bug 13864: Columns configuration - Late orders MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch adds the ability to hide columns on the late orders page (acqui/lateorders.pl). Test plan: Go on the late orders page and confirm you are able to hide columns. You can also play with the columns configuration admin page and confirm that the behaviors are consistent. Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer http://bugs.koha-community.org/show_bug.cgi?id=13875 Signed-off-by: Tomas Cohen Arazi --- admin/columns_settings.yml | 30 +++++++++++++++++++ .../prog/en/modules/acqui/lateorders.tt | 7 +++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 9e9a49ce95..5222253489 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1,4 +1,34 @@ modules: + acqui: + lateorders: + late_orders: + - + columnname: checkbox + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: order_date + - + columnname: estimated_delivery_date + - + columnname: vendor + - + columnname: information + - + columnname: total_cost + - + columnname: basket + - + columnname: basket_group + - + columnname: library + - + columnname: fund + - + columnname: claims_count + - + columnname: claimed_date + admin: currency: currencies-table: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index d794d74f0b..70a15be948 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -1,10 +1,12 @@ [% USE KohaDates %] [% USE Branches %] +[% USE ColumnsSettings %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › Late orders [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] +[% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'calendar.inc' %]