Bugzilla – Attachment 11015 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]
proposed patch #1
0001-Bug-8477-Displays-home-holding-branches-on-return-pa.patch (text/plain), 2.83 KB, created by
Adrien SAURAT
on 2012-07-19 13:41:29 UTC
(
hide
)
Description:
proposed patch #1
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2012-07-19 13:41:29 UTC
Size:
2.83 KB
patch
obsolete
>From e853d49cd17764498fc56fb702293a3e4e4c06ff 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] Bug 8477: Displays home/holding branches on return page > >--- > 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 38e9887..a911d1b 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.4.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 8477
:
11015
|
11029