|
Lines 136-150
elsif ( $op eq "returnbook" && $allowselfcheckreturns ) {
Link Here
|
| 136 |
elsif ( $op eq "checkout" ) { |
136 |
elsif ( $op eq "checkout" ) { |
| 137 |
my $impossible = {}; |
137 |
my $impossible = {}; |
| 138 |
my $needconfirm = {}; |
138 |
my $needconfirm = {}; |
| 139 |
if ( !$confirmed ) { |
139 |
( $impossible, $needconfirm ) = CanBookBeIssued( |
| 140 |
( $impossible, $needconfirm ) = CanBookBeIssued( |
140 |
$borrower, |
| 141 |
$borrower, |
141 |
$barcode, |
| 142 |
$barcode, |
142 |
undef, |
| 143 |
undef, |
143 |
0, |
| 144 |
0, |
144 |
C4::Context->preference("AllowItemsOnHoldCheckoutSCO") |
| 145 |
C4::Context->preference("AllowItemsOnHoldCheckoutSCO") |
145 |
); |
| 146 |
); |
|
|
| 147 |
} |
| 148 |
$confirm_required = scalar keys %$needconfirm; |
146 |
$confirm_required = scalar keys %$needconfirm; |
| 149 |
|
147 |
|
| 150 |
#warn "confirm_required: " . $confirm_required ; |
148 |
#warn "confirm_required: " . $confirm_required ; |
| 151 |
- |
|
|