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