|
Lines 20-26
use C4::SIP::ILS::Transaction::Hold;
Link Here
|
| 20 |
use C4::SIP::ILS::Transaction::Renew; |
20 |
use C4::SIP::ILS::Transaction::Renew; |
| 21 |
use C4::SIP::ILS::Transaction::RenewAll; |
21 |
use C4::SIP::ILS::Transaction::RenewAll; |
| 22 |
|
22 |
|
| 23 |
use C4::Context; #BZ 18317 |
23 |
use C4::Context; #BZ 18317 |
| 24 |
|
24 |
|
| 25 |
my %supports = ( |
25 |
my %supports = ( |
| 26 |
'magnetic media' => 1, |
26 |
'magnetic media' => 1, |
|
Lines 162-170
sub checkout {
Link Here
|
| 162 |
elsif ( !$item ) { |
162 |
elsif ( !$item ) { |
| 163 |
$circ->screen_msg("Invalid Item"); |
163 |
$circ->screen_msg("Invalid Item"); |
| 164 |
} |
164 |
} |
| 165 |
elsif ( $item->{borrowernumber} |
165 |
elsif ( |
| 166 |
&& ! C4::Context->preference('AllowItemsOnLoanCheckoutSIP') #BZ 18317 |
166 |
$item->{borrowernumber} |
| 167 |
&& !_ci_cardnumber_cmp( $item->{borrowernumber}, $patron->borrowernumber ) ) |
167 |
&& !C4::Context->preference('AllowItemsOnLoanCheckoutSIP') #BZ 18317 |
|
|
168 |
&& !_ci_cardnumber_cmp( $item->{borrowernumber}, $patron->borrowernumber ) |
| 169 |
) |
| 168 |
{ |
170 |
{ |
| 169 |
$circ->screen_msg("Item checked out to another patron"); |
171 |
$circ->screen_msg("Item checked out to another patron"); |
| 170 |
} |
172 |
} |