Bugzilla – Attachment 45079 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.32 KB, created by
Katrin Fischer
on 2015-11-22 01:24:48 UTC
(
hide
)
Description:
Bug 15216: Returns - Show branch names and item type description
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-11-22 01:24:48 UTC
Size:
2.32 KB
patch
obsolete
>From 4b45a00905cc15a01631902a8d188c23c4f9f059 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 >--- > 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 %]) >-- >1.9.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 15216
:
45079
|
45128
|
45175
|
45180
|
45268
|
45269