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 commit84a0f1acf6) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> (cherry picked from commitefeeffb064) Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
32bc47f6d4
commit
7a48270a21
|
|
@ -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 %]&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 New Issue