|
Lines 95-108
if ( $type eq 'str8' && $borrower ) {
Link Here
|
| 95 |
|
95 |
|
| 96 |
if ($multi_hold) { |
96 |
if ($multi_hold) { |
| 97 |
my $bibinfo = $bibinfos{$biblionumber}; |
97 |
my $bibinfo = $bibinfos{$biblionumber}; |
| 98 |
AddReserve($branch,$borrower->{'borrowernumber'},$biblionumber,[$biblionumber], |
98 |
if ( CanBookBeReserved($borrower->{'borrowernumber'}, $biblionumber)->{status} eq 'OK' ) { |
| 99 |
$bibinfo->{rank},$startdate,$expirationdate,$notes,$bibinfo->{title},$checkitem,$found); |
99 |
AddReserve($branch,$borrower->{'borrowernumber'},$biblionumber,[$biblionumber], |
|
|
100 |
$bibinfo->{rank},$startdate,$expirationdate,$notes,$bibinfo->{title},$checkitem,$found); |
| 101 |
} |
| 100 |
} else { |
102 |
} else { |
| 101 |
# place a request on 1st available |
103 |
# place a request on 1st available |
| 102 |
for ( my $i = 0 ; $i < $holds_to_place_count ; $i++ ) { |
104 |
for ( my $i = 0 ; $i < $holds_to_place_count ; $i++ ) { |
| 103 |
AddReserve( $branch, $borrower->{'borrowernumber'}, |
105 |
if ( CanBookBeReserved($borrower->{'borrowernumber'}, $biblionumber)->{status} eq 'OK' ) { |
| 104 |
$biblionumber, \@realbi, $rank[0], $startdate, $expirationdate, $notes, $title, |
106 |
AddReserve( $branch, $borrower->{'borrowernumber'}, |
| 105 |
$checkitem, $found, $itemtype ); |
107 |
$biblionumber, \@realbi, $rank[0], $startdate, $expirationdate, $notes, $title, |
|
|
108 |
$checkitem, $found, $itemtype ); |
| 109 |
} |
| 106 |
} |
110 |
} |
| 107 |
} |
111 |
} |
| 108 |
} |
112 |
} |
| 109 |
- |
|
|