|
Lines 50-56
use Koha::AuthorisedValues;
Link Here
|
| 50 |
use Koha::DateUtils; |
50 |
use Koha::DateUtils; |
| 51 |
use Koha::Calendar; |
51 |
use Koha::Calendar; |
| 52 |
use Koha::BiblioFrameworks; |
52 |
use Koha::BiblioFrameworks; |
| 53 |
use Koha::Checkouts; |
|
|
| 54 |
use Koha::Holds; |
53 |
use Koha::Holds; |
| 55 |
use Koha::Items; |
54 |
use Koha::Items; |
| 56 |
use Koha::Patrons; |
55 |
use Koha::Patrons; |
|
Lines 596-602
foreach ( sort { $a <=> $b } keys %returneditems ) {
Link Here
|
| 596 |
$ri{bortitle} = $patron->title; |
595 |
$ri{bortitle} = $patron->title; |
| 597 |
$ri{bornote} = $patron->borrowernotes; |
596 |
$ri{bornote} = $patron->borrowernotes; |
| 598 |
$ri{borcategorycode}= $patron->categorycode; |
597 |
$ri{borcategorycode}= $patron->categorycode; |
| 599 |
$ri{borissuescount} = Koha::Checkouts->count( { borrowernumber => $patron->borrowernumber } ); |
598 |
$ri{borissuescount} = $patron->checkouts->count; |
| 600 |
} |
599 |
} |
| 601 |
else { |
600 |
else { |
| 602 |
$ri{borrowernumber} = $riborrowernumber{$_}; |
601 |
$ri{borrowernumber} = $riborrowernumber{$_}; |
| 603 |
- |
|
|