Bugzilla – Attachment 187473 Details for
Bug 40955
SIP: Add a message on successful checkin with a hold
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40995: SIP add a message at checkin for document with hold
Bug-40995-SIP-add-a-message-at-checkin-for-document.patch (text/plain), 1.24 KB, created by
Marion Durand
on 2025-10-06 12:54:03 UTC
(
hide
)
Description:
Bug 40995: SIP add a message at checkin for document with hold
Filename:
MIME Type:
Creator:
Marion Durand
Created:
2025-10-06 12:54:03 UTC
Size:
1.24 KB
patch
obsolete
>From b312150d2642559a810c09bafceeb2587aed9909 Mon Sep 17 00:00:00 2001 >From: Marion Durand <marion.durand@biblibre.com> >Date: Thu, 17 Oct 2024 13:49:02 +0200 >Subject: [PATCH] Bug 40995: SIP add a message at checkin for document with > hold > >Add a screen message (AF) when a document with a hold is checked in. >Only show when the parameter show_checkin_message is set to 1. > >To test: >1- Checkout a document to a patron A >2- Place a hold for patron B for this document >3- Do a checking using SIP 4- Check that the screen message (AF field) > contain a text warning that the item is on hold, and that the return > has been correctly done >--- > C4/SIP/ILS.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm >index 1dd3453bd2..ff6fd76c44 100644 >--- a/C4/SIP/ILS.pm >+++ b/C4/SIP/ILS.pm >@@ -308,6 +308,10 @@ sub checkin { > $permanent_location = Koha::Libraries->find( $item->{permanent_location} )->branchname; > } > $message .= "Item checked-in: $permanent_location - $item->{location}."; >+ if ( $data->{messages}->{ResFound} ) { >+ $message .= " - Item reserved by another patron"; >+ } >+ > } > > # Check for overdue fines to display >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40955
: 187473