|
Lines 562-567
sub handle_checkout {
Link Here
|
| 562 |
$item_id = $fields->{ (FID_ITEM_ID) }; |
562 |
$item_id = $fields->{ (FID_ITEM_ID) }; |
| 563 |
my $fee_ack = $fields->{ (FID_FEE_ACK) }; |
563 |
my $fee_ack = $fields->{ (FID_FEE_ACK) }; |
| 564 |
|
564 |
|
|
|
565 |
# Overriding branch context and institution_id from value in AO |
| 566 |
# if allow_branch_override policy is set on institution |
| 567 |
if ($server->{policy}->{allow_branch_override}) { |
| 568 |
$inst = $fields->{(FID_INST_ID)}; |
| 569 |
C4::Context->userenv->{'branch'} = $inst; |
| 570 |
} |
| 571 |
|
| 565 |
if ( $no_block eq 'Y' ) { |
572 |
if ( $no_block eq 'Y' ) { |
| 566 |
|
573 |
|
| 567 |
# Off-line transactions need to be recorded, but there's |
574 |
# Off-line transactions need to be recorded, but there's |
| 568 |
- |
|
|