Lines 28-35
use Koha::AuthorisedValues;
Link Here
|
28 |
use Koha::ILL::Comment; |
28 |
use Koha::ILL::Comment; |
29 |
use Koha::Illrequests; |
29 |
use Koha::Illrequests; |
30 |
use Koha::ILL::Batches; |
30 |
use Koha::ILL::Batches; |
31 |
use Koha::Illrequest::Workflow::Availability; |
31 |
use Koha::ILL::Request::Workflow::Availability; |
32 |
use Koha::Illrequest::Workflow::TypeDisclaimer; |
32 |
use Koha::ILL::Request::Workflow::TypeDisclaimer; |
33 |
use Koha::Libraries; |
33 |
use Koha::Libraries; |
34 |
use Koha::Token; |
34 |
use Koha::Token; |
35 |
use Koha::Plugins; |
35 |
use Koha::Plugins; |
Lines 131-139
if ( $backends_available ) {
Link Here
|
131 |
|
131 |
|
132 |
# Before request creation operations - Preparation |
132 |
# Before request creation operations - Preparation |
133 |
my $availability = |
133 |
my $availability = |
134 |
Koha::Illrequest::Workflow::Availability->new( $params, 'staff' ); |
134 |
Koha::ILL::Request::Workflow::Availability->new( $params, 'staff' ); |
135 |
my $type_disclaimer = |
135 |
my $type_disclaimer = |
136 |
Koha::Illrequest::Workflow::TypeDisclaimer->new( $params, 'staff' ); |
136 |
Koha::ILL::Request::Workflow::TypeDisclaimer->new( $params, 'staff' ); |
137 |
|
137 |
|
138 |
# ILLCheckAvailability operation |
138 |
# ILLCheckAvailability operation |
139 |
if ($availability->show_availability($request)) { |
139 |
if ($availability->show_availability($request)) { |
Lines 325-331
if ( $backends_available ) {
Link Here
|
325 |
# Prepare availability searching, if required |
325 |
# Prepare availability searching, if required |
326 |
# Get the definition for the z39.50 plugin |
326 |
# Get the definition for the z39.50 plugin |
327 |
if ( C4::Context->preference('ILLCheckAvailability') ) { |
327 |
if ( C4::Context->preference('ILLCheckAvailability') ) { |
328 |
my $availability = Koha::Illrequest::Workflow::Availability->new( |
328 |
my $availability = Koha::ILL::Request::Workflow::Availability->new( |
329 |
{ |
329 |
{ |
330 |
name => 'ILL availability - z39.50', |
330 |
name => 'ILL availability - z39.50', |
331 |
%{$request->metadata} |
331 |
%{$request->metadata} |
Lines 556-562
sub get_ill_availability {
Link Here
|
556 |
} |
556 |
} |
557 |
} |
557 |
} |
558 |
|
558 |
|
559 |
my $availability = Koha::Illrequest::Workflow::Availability->new($id_types); |
559 |
my $availability = Koha::ILL::Request::Workflow::Availability->new($id_types); |
560 |
return $availability->get_services({ |
560 |
return $availability->get_services({ |
561 |
ui_context => 'staff' |
561 |
ui_context => 'staff' |
562 |
}); |
562 |
}); |