|
Lines 43-48
use C4::CourseReserves qw(GetItemCourseReservesInfo);
Link Here
|
| 43 |
use C4::Acquisition qw(GetOrdersByBiblionumber); |
43 |
use C4::Acquisition qw(GetOrdersByBiblionumber); |
| 44 |
use Koha::AuthorisedValues; |
44 |
use Koha::AuthorisedValues; |
| 45 |
use Koha::Biblios; |
45 |
use Koha::Biblios; |
|
|
46 |
use Koha::Illrequests; |
| 46 |
use Koha::Items; |
47 |
use Koha::Items; |
| 47 |
use Koha::ItemTypes; |
48 |
use Koha::ItemTypes; |
| 48 |
use Koha::Patrons; |
49 |
use Koha::Patrons; |
|
Lines 523-528
if (C4::Context->preference('TagsEnabled') and $tag_quantity = C4::Context->pref
Link Here
|
| 523 |
my $holds = $biblio->holds; |
524 |
my $holds = $biblio->holds; |
| 524 |
$template->param( holdcount => $holds->count ); |
525 |
$template->param( holdcount => $holds->count ); |
| 525 |
|
526 |
|
|
|
527 |
# Check if there are any ILL requests connected to the biblio |
| 528 |
my $illrequests = Koha::Illrequests->search({ biblio_id => $biblionumber }); |
| 529 |
$template->param( illrequests => $illrequests ); |
| 530 |
|
| 526 |
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection'); |
531 |
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection'); |
| 527 |
if ($StaffDetailItemSelection) { |
532 |
if ($StaffDetailItemSelection) { |
| 528 |
# Only enable item selection if user can execute at least one action |
533 |
# Only enable item selection if user can execute at least one action |