Lines 165-171
sub add {
Link Here
|
165 |
) unless $valid_pickup_location || $can_override; |
165 |
) unless $valid_pickup_location || $can_override; |
166 |
|
166 |
|
167 |
my $can_place_hold |
167 |
my $can_place_hold |
168 |
= $item_id |
168 |
= $item |
169 |
? C4::Reserves::CanItemBeReserved( $patron, $item ) |
169 |
? C4::Reserves::CanItemBeReserved( $patron, $item ) |
170 |
: C4::Reserves::CanBookBeReserved( $patron_id, $biblio_id ); |
170 |
: C4::Reserves::CanBookBeReserved( $patron_id, $biblio_id ); |
171 |
|
171 |
|
Lines 192-198
sub add {
Link Here
|
192 |
{ |
192 |
{ |
193 |
branchcode => $pickup_library_id, |
193 |
branchcode => $pickup_library_id, |
194 |
borrowernumber => $patron_id, |
194 |
borrowernumber => $patron_id, |
195 |
biblionumber => $biblio_id, |
195 |
biblionumber => $biblio->id, |
196 |
priority => $priority, |
196 |
priority => $priority, |
197 |
reservation_date => $hold_date, |
197 |
reservation_date => $hold_date, |
198 |
expiration_date => $expiration_date, |
198 |
expiration_date => $expiration_date, |
199 |
- |
|
|