|
Lines 266-280
foreach my $biblionumber (@biblionumbers) {
Link Here
|
| 266 |
$template->param( max_holds_for_record => $max_holds_for_record ); |
266 |
$template->param( max_holds_for_record => $max_holds_for_record ); |
| 267 |
$template->param( remaining_holds_for_record => $remaining_holds_for_record ); |
267 |
$template->param( remaining_holds_for_record => $remaining_holds_for_record ); |
| 268 |
|
268 |
|
| 269 |
{ # alreadypossession |
269 |
# Check to see if patron is allowed to place holds on records where the |
| 270 |
# Check to see if patron is allowed to place holds on records where the |
270 |
# patron already has an item from that record checked out |
| 271 |
# patron already has an item from that record checked out |
271 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
| 272 |
my $alreadypossession; |
272 |
&& CheckIfIssuedToPatron( $patron->borrowernumber, $biblionumber ) ) |
| 273 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
273 |
{ |
| 274 |
&& CheckIfIssuedToPatron( $patron->borrowernumber, $biblionumber ) ) |
274 |
$template->param( alreadypossession => 1 ); |
| 275 |
{ |
|
|
| 276 |
$template->param( alreadypossession => $alreadypossession, ); |
| 277 |
} |
| 278 |
} |
275 |
} |
| 279 |
} |
276 |
} |
| 280 |
|
277 |
|
| 281 |
- |
|
|