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

(-)a/circ/returns.pl (+2 lines)
Lines 50-55 use C4::RotatingCollections; Link Here
50
use Koha::AuthorisedValues;
50
use Koha::AuthorisedValues;
51
use Koha::DateUtils;
51
use Koha::DateUtils;
52
use Koha::Calendar;
52
use Koha::Calendar;
53
use Koha::Issues;
53
54
54
my $query = new CGI;
55
my $query = new CGI;
55
56
Lines 578-583 foreach ( sort { $a <=> $b } keys %returneditems ) { Link Here
578
            $ri{bortitle}       = $b->{'title'};
579
            $ri{bortitle}       = $b->{'title'};
579
            $ri{bornote}        = $b->{'borrowernotes'};
580
            $ri{bornote}        = $b->{'borrowernotes'};
580
            $ri{borcategorycode}= $b->{'categorycode'};
581
            $ri{borcategorycode}= $b->{'categorycode'};
582
            $ri{borissuescount} = Koha::Issues->count( { borrowernumber => $b->{'borrowernumber'} } );
581
        }
583
        }
582
        else {
584
        else {
583
            $ri{borrowernumber} = $riborrowernumber{$_};
585
            $ri{borrowernumber} = $riborrowernumber{$_};
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-1 / +3 lines)
Lines 767-772 $(document).ready(function () { Link Here
767
                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
767
                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
768
                    [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
768
                    [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
769
                </a>
769
                </a>
770
                [% IF riloo.borissuescount %]
771
                    <a class="btn btn-mini" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% riloo.borrowernumber %]">Issues: [% riloo.borissuescount %]</a>
772
                [% END %]
770
            [% ELSE %]Not checked out[% END %]</td>
773
            [% ELSE %]Not checked out[% END %]</td>
771
            <td class="ci-note">
774
            <td class="ci-note">
772
                [% IF ( riloo.bornote ) %]<p><span class="circ-hlt patron-note">[% riloo.bornote %]</p></span>[% END %]
775
                [% IF ( riloo.bornote ) %]<p><span class="circ-hlt patron-note">[% riloo.bornote %]</p></span>[% END %]
773
- 

Return to bug 17466