View | Details | Raw Unified | Return to bug 8477
Collapse All | Expand All

(-)a/circ/returns.pl (+3 lines)
Lines 579-584 foreach ( sort { $a <=> $b } keys %returneditems ) { Link Here
579
579
580
        #        my %ri;
580
        #        my %ri;
581
        my $biblio = GetBiblioFromItemNumber(GetItemnumberFromBarcode($bar_code));
581
        my $biblio = GetBiblioFromItemNumber(GetItemnumberFromBarcode($bar_code));
582
        my $item   = GetItem( GetItemnumberFromBarcode($bar_code) );
582
        # fix up item type for display
583
        # fix up item type for display
583
        $biblio->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $biblio->{'itype'} : $biblio->{'itemtype'};
584
        $biblio->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $biblio->{'itype'} : $biblio->{'itemtype'};
584
        $ri{itembiblionumber} = $biblio->{'biblionumber'};
585
        $ri{itembiblionumber} = $biblio->{'biblionumber'};
Lines 590-595 foreach ( sort { $a <=> $b } keys %returneditems ) { Link Here
590
        $ri{ccode}            = $biblio->{'ccode'};
591
        $ri{ccode}            = $biblio->{'ccode'};
591
        $ri{itemnumber}       = $biblio->{'itemnumber'};
592
        $ri{itemnumber}       = $biblio->{'itemnumber'};
592
        $ri{barcode}          = $bar_code;
593
        $ri{barcode}          = $bar_code;
594
        $ri{homebranch}       = $item->{'homebranch'};
595
        $ri{holdingbranch}    = $item->{'holdingbranch'};
593
596
594
        $ri{location}         = $biblio->{'location'};
597
        $ri{location}         = $biblio->{'location'};
595
        my $shelfcode = $ri{'location'};
598
        my $shelfcode = $ri{'location'};
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +3 lines)
Lines 429-435 $(document).ready(function () { Link Here
429
[% IF ( riloop ) %]
429
[% IF ( riloop ) %]
430
    <h2>Checked-in items</h2>
430
    <h2>Checked-in items</h2>
431
    <table>
431
    <table>
432
    <tr><th>Due date</th><th>Title</th>	<th>Author</th>	<th>Barcode</th><th>Shelving location</th><th>Call number</th><th>Type</th>	<th>Patron</th><th>Note</th></tr>
432
    <tr><th>Due date</th><th>Title</th>	<th>Author</th>	<th>Barcode</th><th>Home Branch</th><th>Holding Branch</th><th>Shelving location</th><th>Call number</th><th>Type</th>	<th>Patron</th><th>Note</th></tr>
433
433
434
        [% FOREACH riloo IN riloop %]
434
        [% FOREACH riloo IN riloop %]
435
            <tr>
435
            <tr>
Lines 445-450 $(document).ready(function () { Link Here
445
                    [% riloo.itemtitle |html %]</a></td>
445
                    [% riloo.itemtitle |html %]</a></td>
446
			<td>[% riloo.itemauthor %]</td>
446
			<td>[% riloo.itemauthor %]</td>
447
            <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&amp;itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
447
            <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&amp;itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
448
            <td>[% riloo.homebranch %]</td>
449
            <td>[% riloo.holdingbranch %]</td>
448
            <td>[% riloo.location %]</td>
450
            <td>[% riloo.location %]</td>
449
            <td>[% riloo.itemcallnumber %]</td>
451
            <td>[% riloo.itemcallnumber %]</td>
450
            <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
452
            <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
451
- 

Return to bug 8477