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

(-)a/circ/returns.pl (+3 lines)
Lines 566-571 foreach ( sort { $a <=> $b } keys %returneditems ) { Link Here
566
        $ri{homebranch}       = $item->{'homebranch'};
566
        $ri{homebranch}       = $item->{'homebranch'};
567
        $ri{holdingbranch}    = $item->{'holdingbranch'};
567
        $ri{holdingbranch}    = $item->{'holdingbranch'};
568
568
569
        if (GetReservesFromItemnumber($biblio->{'itemnumber'})){
570
            $ri{reservewarning}         = 1;}
571
569
        $ri{location}         = $biblio->{'location'};
572
        $ri{location}         = $biblio->{'location'};
570
        my $shelfcode = $ri{'location'};
573
        my $shelfcode = $ri{'location'};
571
        $ri{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
574
        $ri{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-3 / +2 lines)
Lines 547-554 $(document).ready(function () { Link Here
547
                </a>
547
                </a>
548
            [% ELSE %]Not checked out[% END %]</td>
548
            [% ELSE %]Not checked out[% END %]</td>
549
            <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
549
            <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
550
            [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
550
            [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]<br /></span>[% END %]
551
            </td>
551
            [% IF ( riloo.reservewarning ) %]<span class="circ-hlt">This item is reserved</span>[% END %]</td>
552
           </tr>
552
           </tr>
553
        [% END %]
553
        [% END %]
554
    </table></div>
554
    </table></div>
555
- 

Return to bug 5956