Lines 4164-4170
sub ProcessOfflineOperation {
Link Here
|
4164 |
if ( $operation->{action} eq 'return' ) { |
4164 |
if ( $operation->{action} eq 'return' ) { |
4165 |
$report = ProcessOfflineReturn( $operation ); |
4165 |
$report = ProcessOfflineReturn( $operation ); |
4166 |
} elsif ( $operation->{action} eq 'issue' ) { |
4166 |
} elsif ( $operation->{action} eq 'issue' ) { |
4167 |
$report = ProcessOfflineIssue( $operation ); |
4167 |
( $report ) = ProcessOfflineIssue( $operation ); |
4168 |
} elsif ( $operation->{action} eq 'payment' ) { |
4168 |
} elsif ( $operation->{action} eq 'payment' ) { |
4169 |
$report = ProcessOfflinePayment( $operation ); |
4169 |
$report = ProcessOfflinePayment( $operation ); |
4170 |
} |
4170 |
} |
Lines 4224-4236
sub ProcessOfflineIssue {
Link Here
|
4224 |
} |
4224 |
} |
4225 |
AddIssue( |
4225 |
AddIssue( |
4226 |
$patron, |
4226 |
$patron, |
4227 |
$operation->{'barcode'}, |
4227 |
$operation->{barcode}, |
4228 |
undef, |
4228 |
$operation->{due_date}, |
4229 |
undef, |
4229 |
undef, |
4230 |
$operation->{timestamp}, |
4230 |
$operation->{timestamp}, |
4231 |
undef, |
4231 |
undef, |
4232 |
); |
4232 |
); |
4233 |
return "Success."; |
4233 |
return ( "Success.", $checkout ); |
4234 |
} else { |
4234 |
} else { |
4235 |
return "Borrower not found."; |
4235 |
return "Borrower not found."; |
4236 |
} |
4236 |
} |