Bugzilla – Attachment 165258 Details for
Bug 36431
SIP2: Checkin does not show difference between WasTransfered and NeedsTransfer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36431: Add screen message for NeedsTransfer when AutomaticItemReturn is off
Bug-36431-Add-screen-message-for-NeedsTransfer-whe.patch (text/plain), 1.83 KB, created by
Marcel de Rooy
on 2024-04-22 10:04:26 UTC
(
hide
)
Description:
Bug 36431: Add screen message for NeedsTransfer when AutomaticItemReturn is off
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-04-22 10:04:26 UTC
Size:
1.83 KB
patch
obsolete
>From 11b0862d608f8e18f8c79f92df59b67400e92caf Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 22 Apr 2024 09:04:45 +0000 >Subject: [PATCH] Bug 36431: Add screen message for NeedsTransfer when > AutomaticItemReturn is off >Content-Type: text/plain; charset=utf-8 > >Test plan: >Pick an item (without holds) with homebranch A and holdingbranch B. >(My SIP examples use RMA for A, NRD for B.) >Enable AutomaticItemReturn. >Check in this item at branch B via SIP. >* 09N20240422 10000020240422 160000APNRD|AONRD|ABperl01| >You should see something like: >* 101YNY20240422 105736AONRD|ABperl01|AQRMA|AJLearning Perl /|CSH|CTRMA|CV04| >Verify too that a transfer was started. >Now disable AutomaticItemReturn. Remove the transfer. >Check in this item at branch B via SIP. >You should see now something like: >101YNY20240422 105515AONRD|ABperl01|AQRMA|AJLearning Perl /|CSH|CTRMA|CV04|AFThis item must still be transferred to RMA branch.| >Verify that no transfer was started. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/SIP/ILS/Transaction/Checkin.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/SIP/ILS/Transaction/Checkin.pm b/C4/SIP/ILS/Transaction/Checkin.pm >index 0ddbaa8f21..57891f0039 100644 >--- a/C4/SIP/ILS/Transaction/Checkin.pm >+++ b/C4/SIP/ILS/Transaction/Checkin.pm >@@ -137,6 +137,8 @@ sub do_checkin { > if ($messages->{NeedsTransfer}) { > $self->{item}->destination_loc($messages->{NeedsTransfer}); > $self->alert_type('04'); # send to other branch >+ $self->screen_msg( "This item must still be transferred to " . $messages->{NeedsTransfer} . " branch." ) >+ if !C4::Context->preference('AutomaticItemReturn'); > } > if ($messages->{WasTransfered}) { # set into transit so tell unit > $self->{item}->destination_loc($item->homebranch); >-- >2.30.2
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 36431
: 165258 |
165259