From dcbd3f8387d17f3e6ab8dec60c99d68e1265e11b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 30 Oct 2023 12:47:31 +0000 Subject: [PATCH] Bug 35188: Show checkout override for all noisseus statuses This patch moves the override button up one level into the list of noissues in order to allow overriding any blocking status To test: 1 - Log in to Koha with a user with force_checkout permission (superlibrarian ok too) 2 - Mark a patron as expired, lost card, gone no address 3 - Go to 'Check out' page for the patorn 4 - Note you cannot override the restrictions 5 - Add a manual restriction/debarment 6 - Go to checkout again, now you can override 7 - Remove the debarment 8 - Add manually ot URL of checkout page '&foreallow=1' 9 - Note you can now override the other restrictions 10 - Apply patch 11 - Reload patron 12 - Note you now see the override button on the check out screen 13 - Add a debarment 14 - Confirm the button is still there 15 - Confirm overriding allows the checkout (with or without a debarment) Signed-off-by: Matt Blenkinsop Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/patron_messages.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc index ca7e80a4b9..b9189f2d06 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc @@ -74,12 +74,6 @@
[% END %] View restrictions - - [% IF (noissues && CAN_user_circulate_force_checkout && !moremember) %] - - Override restriction temporarily - - [% END %] [% END # /IF userdebarred %] @@ -126,7 +120,13 @@ Credits: Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %] [% END %] - + [% IF (noissues && CAN_user_circulate_force_checkout && !moremember) %] +
  • + + Override restriction temporarily + +
  • + [% END %] [% END # /F ( has_modifications || warndeparture... %] -- 2.39.5