From 91ba4fcfd722196f66c730c781c62941ff9e86a8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 8 Oct 2024 11:11:54 +0000 Subject: [PATCH] Bug 38117: Only show 'not checked in' message if item is checked out To test: 1 - Enable system preference 'ShowAllCheckins' 2 - Set system preference 'BlockReturnOfWithdrawnItems' to 'Block' 3 - Check in an item 4 - Note 'Item was not checked in message' 5 - Confirm it happens for any item that is not currently issued 6 - Check out an item to a patron 7 - Mark the item as withdrawn 8 - Check the item in 9 - Note message 'Item was not checked in' appears too 10 - Apply patch 11 - Confirm checking in an item not checked out only shows 'Not checked out' 12 - Confirm the withdrawn item still shows 'Item was not checked in' 13 - Confirm above message remains whne checking in more items that were not issued Signed-off-by: Michelle Spinney Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2b2c71fafc..b3812072cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1266,7 +1266,7 @@ [% FOREACH riloo IN riloop %] - [% IF ( riloo.not_returned ) %] + [% IF ( riloo.not_returned AND riloo.duedate ) %] Item was not checked in [% END %] [% IF ( riloo.duedate ) %] -- 2.39.5