Bugzilla – Attachment 11029 Details for
Bug 8477
Display home & holding branches when checking in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8477: Displays home/holding branches on return page
SIGNED-OFF-Bug-8477-Displays-homeholding-branches-.patch (text/plain), 2.92 KB, created by
Mirko Tietgen
on 2012-07-19 20:24:19 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8477: Displays home/holding branches on return page
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2012-07-19 20:24:19 UTC
Size:
2.92 KB
patch
obsolete
>From 0f4838253853b5d4b9df0d823b3a0a2c5734e371 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Thu, 19 Jul 2012 15:39:41 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 8477: Displays home/holding branches on return page >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Mirko Tietgen <5p4m@gmx.de> >--- > circ/returns.pl | 3 +++ > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 4 +++- > 2 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index b9127da..c72a132 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -579,6 +579,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > > # my %ri; > my $biblio = GetBiblioFromItemNumber(GetItemnumberFromBarcode($bar_code)); >+ my $item = GetItem( GetItemnumberFromBarcode($bar_code) ); > # fix up item type for display > $biblio->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $biblio->{'itype'} : $biblio->{'itemtype'}; > $ri{itembiblionumber} = $biblio->{'biblionumber'}; >@@ -590,6 +591,8 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{ccode} = $biblio->{'ccode'}; > $ri{itemnumber} = $biblio->{'itemnumber'}; > $ri{barcode} = $bar_code; >+ $ri{homebranch} = $item->{'homebranch'}; >+ $ri{holdingbranch} = $item->{'holdingbranch'}; > > $ri{location} = $biblio->{'location'}; > my $shelfcode = $ri{'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 1ed01f0..725df77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -429,7 +429,7 @@ $(document).ready(function () { > [% IF ( riloop ) %] > <h2>Checked-in items</h2> > <table> >- <tr><th>Due date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Shelving location</th><th>Call number</th><th>Type</th> <th>Patron</th><th>Note</th></tr> >+ <tr><th>Due date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Home Branch</th><th>Holding Branch</th><th>Shelving location</th><th>Call number</th><th>Type</th> <th>Patron</th><th>Note</th></tr> > > [% FOREACH riloo IN riloop %] > <tr> >@@ -445,6 +445,8 @@ $(document).ready(function () { > [% riloo.itemtitle |html %]</a></td> > <td>[% riloo.itemauthor %]</td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td> >+ <td>[% riloo.homebranch %]</td> >+ <td>[% riloo.holdingbranch %]</td> > <td>[% riloo.location %]</td> > <td>[% riloo.itemcallnumber %]</td> > <td>[% riloo.itemtype %] [% riloo.ccode %]</td> >-- >1.7.2.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 8477
:
11015
| 11029