Lines 1094-1109
sub backend_create {
Link Here
|
1094 |
# ... complex case: commit! |
1094 |
# ... complex case: commit! |
1095 |
|
1095 |
|
1096 |
# Do we still have space for an ILL or should we queue? |
1096 |
# Do we still have space for an ILL or should we queue? |
1097 |
my $permitted = $self->check_limits( { patron => $self->patron }, { librarycode => $self->branchcode } ); |
1097 |
my $permitted = 1; |
1098 |
|
1098 |
if ( $self->patron ) { |
1099 |
# Now augment our committed request. |
1099 |
$permitted = $self->check_limits( { patron => $self->patron }, { librarycode => $self->branchcode } ); |
1100 |
|
1100 |
$result->{permitted} = $permitted; |
1101 |
$result->{permitted} = $permitted; # Queue request? |
1101 |
$self->status('QUEUED')->store unless ($permitted); |
1102 |
|
1102 |
} |
1103 |
# This involves... |
|
|
1104 |
|
1105 |
# ...Updating status! |
1106 |
$self->status('QUEUED')->store unless ($permitted); |
1107 |
|
1103 |
|
1108 |
## Handle Unmediated ILLs |
1104 |
## Handle Unmediated ILLs |
1109 |
|
1105 |
|
1110 |
- |
|
|