From ed57b41121b316d3772cda6dc5ff0b736fcf0622 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. --- .../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 02ef881c06..f1fc369f24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -121,7 +121,7 @@ Basket group Order line Summary - More + View Replacement price Quantity Unit cost @@ -298,22 +298,22 @@ [% ELSE %]There are no received orders.[% END %] - + [% IF (invoiceclosedate) %] View invoice @@ -343,7 +343,6 @@ [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] -