From f3ebd78dee3399459f1250571c0ee53fe14aa2be Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Tue, 18 Jul 2023 01:24:16 +0000 Subject: [PATCH] Bug 34300: Add holds column to order table MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Adds the ability to easily place a hold on an ordered item from a basket To test: 1) Apply patch 2) Go to acquisitions 3) Go to an existing basket, or create a new one 4) Add an order to the basket 4) Notice there is a "Place hold" column in the Orders table 5) Click the link for an item which allows you to place a hold easily on the biblio 6) On the columns settings, toggle the "Place hold" column to hide it, and make sure it gets hidden Sponsored-by: Pymble Ladies’ College Signed-off-by: Lisette Scheer Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- admin/columns_settings.yml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 270c99984b..34f3508a32 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -162,6 +162,8 @@ modules: columnname: invoice - columnname: supplier_report + - + columnname: place_hold - columnname: modify cannot_be_toggled: 1 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 45f7cc4c4e..fd208325cf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -482,6 +482,7 @@ [% IF Koha.Preference('EDIFACT') && ediaccount %] Supplier report [% END %] + Place hold [% IF ( active ) %] [% UNLESS ( closedate ) %] Modify @@ -675,6 +676,11 @@ [% IF Koha.Preference('EDIFACT') && ediaccount %] [% books_loo.suppliers_report | html %] [% END %] + + + Place a hold on the order + + [% IF ( active ) %] [% UNLESS ( closedate ) %] -- 2.39.5