From 440db456cb8e40b98227b8476594bc2247afb229 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 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. --- 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' %]