Bugzilla – Attachment 189181 Details for
Bug 41206
Add collection to transfers to receive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41206: Add collection code to transfers to receive
Bug-41206-Add-collection-code-to-transfers-to-rece.patch (text/plain), 2.65 KB, created by
Nick Clemens (kidclamp)
on 2025-11-06 14:59:02 UTC
(
hide
)
Description:
Bug 41206: Add collection code to transfers to receive
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-11-06 14:59:02 UTC
Size:
2.65 KB
patch
obsolete
>From b23e8cb41a3f3369a8292a9027184d56258338d6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 6 Nov 2025 14:55:48 +0000 >Subject: [PATCH] Bug 41206: Add collection code to transfers to receive > >This patch adds the collection code to the transfers to receive report >It wraps it in a span for styling/hiding > >To test: >1 - Transfer some books with collection code set to another branch >2 - Sign in as that branch >3 - Circulation -> Transfers to receive >4 - No collection code shown >5 - Apply patch >6 - Refresh >7 - See collection code >--- > circ/transferstoreceive.pl | 1 + > .../intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt | 4 ++++ > 2 files changed, 5 insertions(+) > >diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl >index 46206ce5817..1b7d135a31b 100755 >--- a/circ/transferstoreceive.pl >+++ b/circ/transferstoreceive.pl >@@ -98,6 +98,7 @@ while ( my $library = $libraries->next ) { > biblionumber => $biblio->biblionumber, > itemnumber => $item->itemnumber, > barcode => $item->barcode, >+ ccode => $item->ccode, > homebranch => $item->homebranch, > holdingbranch => $item->holdingbranch, > itemcallnumber => $item->itemcallnumber, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt >index 2bec7d42392..18e38df03c1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt >@@ -1,5 +1,6 @@ > [% USE raw %] > [% USE Asset %] >+[% USE AuthorisedValues %] > [% USE Koha %] > [% USE KohaDates %] > [% USE Branches %] >@@ -65,6 +66,9 @@ > <td> > [% INCLUDE 'biblio-title.inc' biblio=reser link = 1 %] [% IF ( reser.author ) %]by [% reser.author | html %][% END %] > [% IF ( reser.itemtype ) %](<strong>[% reser.itemtype | html %]</strong>)[% END %] >+ [% IF ( reser.ccode ) -%] >+ <span class="collection_code">Collection: [% AuthorisedValues.GetDescriptionByKohaField(kohafield => 'items.ccode', authorised_value => reser.ccode) | html %]</span> >+ [%- END %] > <br />Barcode: [% reser.barcode | html %] > </td> > <td >-- >2.39.5
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 41206
:
189181
|
189313