From bad8916061a51a7558841a92a0c51c903672084e Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Fri, 27 Dec 2024 12:09:52 -0500 Subject: [PATCH] Bug 38789: Add block class to WrongTransfer modal To test: 1. Find or create an item belonging to a branch other than the logged-in branch 2. Check in the item and click OK in the "transfer to home" modal 3. Check the item in again --> The Wrong Transfer modal should appear, but it doesn't! 4. Apply patch 5. Cancel the transfer or find a different item 6. Check in the item and click OK in the "transfer to home" modal 7. Check the item in again --> The Wrong Transfer modal should appear 8. Click OK 9. Open the bib record for that item in a new tab --> The item should have a status of "In transit" 10. Change the system preference TransfersBlockCirc to don't block 11. Check the item in again --> The Wrong Transfer modal should still appear 12. Confirm that you can click outside the modal to dismiss it without choosing an option Signed-off-by: David Nind Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 2758e7df1ad..8a84577f8d6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -575,9 +575,9 @@ [% UNLESS ( hold_auto_filled && diffbranch ) %] [% IF WrongTransfer && !transfertodo %] [% IF Koha.Preference('TransfersBlockCirc') %] -