From e7dfda6210d4c94e2787bd21c909d281374375ec Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 22 Mar 2022 11:25:12 +0000 Subject: [PATCH] Bug 30333: Move view actions on acquisitions receipt summary page into menu This patch moves the "views" group of links (MARC, Card, and Order) into a menu button. The patch also makes some corrections to the modal markup and handling to fix a display error. To test you must have a basket or baskets with multiple titles on order, both received and pending. - Apply the patch and go to Acquisitions -> Vendor -> Receive shipment -> Receive a new shipment (or open an existing invoice). - In the list of pending orders: - Test the 'View' menu for multiple titles. The 'Order,' 'MARC,' and 'Card' menu items should work correctly. Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/acqui/parcel.tt | 51 +++++++++++-------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index da43e7cbcd..eb3ea035ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -120,7 +120,7 @@ Basket group Order line Summary - More + View Replacement price Quantity Unit cost @@ -297,22 +297,22 @@ [% ELSE %]There are no received orders.[% END %] - + [% IF (invoiceclosedate) %] View invoice @@ -342,7 +342,6 @@ [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] -