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>
This commit is contained in:
parent
11e4c42e05
commit
84a0f1acf6
1 changed files with 4 additions and 3 deletions
|
@ -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 %])
|
||||
|
|
Loading…
Reference in a new issue