Bugzilla – Attachment 120223 Details for
Bug 25883
Highlight transfers on checkin screen table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25883: Replace 'homebranch' with 'transfer to' in returns
Bug-25883-Replace-homebranch-with-transfer-to-in-r.patch (text/plain), 2.95 KB, created by
Martin Renvoize (ashimema)
on 2021-04-27 13:12:08 UTC
(
hide
)
Description:
Bug 25883: Replace 'homebranch' with 'transfer to' in returns
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-04-27 13:12:08 UTC
Size:
2.95 KB
patch
obsolete
>From c5338f3a5085f59edf81741769f5fff95005160a Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 27 Apr 2021 14:10:27 +0100 >Subject: [PATCH] Bug 25883: Replace 'homebranch' with 'transfer to' in returns > >This patch replaces the "Holding library" column in the returns table >with a 'Transfer to' column that displays the destination for the item >awaiting transfer if a transfer exists. >--- > circ/returns.pl | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 94e4b5e287..3ed8be6488 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -608,7 +608,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{itemnumber} = $item->itemnumber; > $ri{barcode} = $bar_code; > $ri{homebranch} = $item->homebranch; >- $ri{holdingbranch} = $item->holdingbranch; >+ $ri{transferbranch} = $item->get_transfer ? $item->get_transfer->tobranch : ''; > $ri{damaged} = $item->damaged; > > $ri{location} = $item->location; >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 098cc90ec1..af03783468 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -868,7 +868,7 @@ > <th class="ci-author">Author</th> > <th class="ci-barcode">Barcode</th> > <th class="ci-homelibrary">Home library</th> >- <th class="ci-holdinglibrary">Holding library</th> >+ <th class="ci-transferlibrary">Transfer to</th> > <th class="ci-shelvinglocation">Shelving location</th> > <th class="ci-callnumber">Call number</th> > <th class="ci-dateaccessioned">Date acquired</th> >@@ -915,8 +915,8 @@ > <td class="ci-homelibrary"> > [% Branches.GetName( riloo.homebranch ) | html %] > </td> >- <td class="ci-holdinglibrary"> >- [% Branches.GetName( riloo.holdingbranch ) | html %] >+ <td class="ci-transferlibrary"> >+ [% Branches.GetName( riloo.transferbranch ) | html %] > </td> > <td class="ci-shelvinglocation"> > <span class="shelvingloc">[% riloo.location | html %]</span> >-- >2.20.1
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 25883
:
120223
|
120669
|
126279
|
127148
|
127155
|
127156