From e0b3f4e39f29a50feec5d4fc31bb39aacfacca37 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 12:56:07 +0100 Subject: [PATCH] [PASSED QA] Bug 13864: Columns configuration - Late orders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 --- 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 9e9a49c..5222253 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 d794d74..70a15be 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' %]