|
Lines 50-56
Returns undef if the hold is not waiting ( found = 'W' ).
Link Here
|
| 50 |
sub waiting_expires_on { |
50 |
sub waiting_expires_on { |
| 51 |
my ($self) = @_; |
51 |
my ($self) = @_; |
| 52 |
|
52 |
|
| 53 |
return unless $self->found() eq 'W'; |
53 |
my $found = $self->found; |
|
|
54 |
return unless $found && $found eq 'W'; |
| 54 |
|
55 |
|
| 55 |
my $ReservesMaxPickUpDelay = C4::Context->preference('ReservesMaxPickUpDelay'); |
56 |
my $ReservesMaxPickUpDelay = C4::Context->preference('ReservesMaxPickUpDelay'); |
| 56 |
return unless $ReservesMaxPickUpDelay; |
57 |
return unless $ReservesMaxPickUpDelay; |
|
Lines 71-77
Returns true if hold is a waiting hold
Link Here
|
| 71 |
sub is_waiting { |
72 |
sub is_waiting { |
| 72 |
my ($self) = @_; |
73 |
my ($self) = @_; |
| 73 |
|
74 |
|
| 74 |
return $self->found() eq 'W'; |
75 |
my $found = $self->found; |
|
|
76 |
return $found && $found eq 'W'; |
| 75 |
} |
77 |
} |
| 76 |
|
78 |
|
| 77 |
=head3 biblio |
79 |
=head3 biblio |
| 78 |
- |
|
|