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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 84a0f1acf6)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit efeeffb064)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Katrin Fischer 2015-11-22 02:23:11 +01:00 committed by Frédéric Demians
parent 32bc47f6d4
commit 7a48270a21
1 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
[% USE Branches %]
[% USE Koha %]
[% USE Borrowers %]
[% USE ItemTypes %]
[% USE AuthorisedValues %]
[% INCLUDE 'doc-head-open.inc' %]
@ -578,11 +579,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 %]&amp;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 %])