Bugzilla – Attachment 45268 Details for
Bug 15216
Display Branch names and itemtype descriptions on the returns page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15216: Returns - Show branch names and item type description
Bug-15216-Returns---Show-branch-names-and-item-typ.patch (text/plain), 2.45 KB, created by
Jonathan Druart
on 2015-12-01 14:30:24 UTC
(
hide
)
Description:
Bug 15216: Returns - Show branch names and item type description
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-01 14:30:24 UTC
Size:
2.45 KB
patch
obsolete
>From dbdad59c583d62887f36c1ccbd85c87ab6f4cc47 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 22 Nov 2015 02:23:11 +0100 >Subject: [PATCH] Bug 15216: Returns - Show branch names and item type > description > >Changes the table with returned items to display the branch >names for home and holding branch and the itemtype description >instead of the codes. > >To test: >- Check out some items >- Return the items >- Verify the changes in the table of returned items > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >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 ca23a94..3762e32 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -2,6 +2,7 @@ > [% USE Branches %] > [% USE Koha %] > [% USE Borrowers %] >+[% USE ItemTypes %] > [% USE AuthorisedValues %] > > [% INCLUDE 'doc-head-open.inc' %] >@@ -583,11 +584,11 @@ $(document).ready(function () { > [% riloo.itemtitle |html %]</a></td> > <td class="ci-author">[% riloo.itemauthor %]</td> > <td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td> >- <td class="ci-homelibrary">[% riloo.homebranch %]</td> >- <td class="ci-holdinglibrary">[% riloo.holdingbranch %]</td> >+ <td class="ci-homelibrary">[% Branches.GetName( riloo.homebranch ) %]</td> >+ <td class="ci-holdinglibrary">[% Branches.GetName( riloo.holdingbranch ) %]</td> > <td class="ci-shelvinglocation">[% riloo.location %]</td> > <td class="ci-callnumber">[% riloo.itemcallnumber %]</td> >- <td class="ci-type">[% riloo.itemtype %] [% riloo.ccode %]</td> >+ <td class="ci-type">[% ItemTypes.GetDescription( riloo.itemtype ) %] [% riloo.ccode %]</td> > <td class="ci-patron">[% IF ( riloo.duedate ) %] > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]"> > [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %]) >-- >2.1.0
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 15216
:
45079
|
45128
|
45175
|
45180
| 45268 |
45269