|
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 538-543
if (C4::Context->preference('TagsEnabled') and $tag_quantity = C4::Context->pref
Link Here
|
| 538 |
my $holds = $biblio->holds; |
539 |
my $holds = $biblio->holds; |
| 539 |
$template->param( holdcount => $holds->count ); |
540 |
$template->param( holdcount => $holds->count ); |
| 540 |
|
541 |
|
|
|
542 |
# Check if there are any ILL requests connected to the biblio |
| 543 |
my $illrequests = Koha::Illrequests->search({ biblio_id => $biblionumber }); |
| 544 |
$template->param( illrequests => $illrequests ); |
| 545 |
|
| 541 |
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection'); |
546 |
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection'); |
| 542 |
if ($StaffDetailItemSelection) { |
547 |
if ($StaffDetailItemSelection) { |
| 543 |
# Only enable item selection if user can execute at least one action |
548 |
# Only enable item selection if user can execute at least one action |