Lines 134-144
sub do_checkout {
Link Here
|
134 |
|
134 |
|
135 |
if ( $no_block_due_date ) { |
135 |
if ( $no_block_due_date ) { |
136 |
$overridden_duedate = $no_block_due_date; |
136 |
$overridden_duedate = $no_block_due_date; |
137 |
ProcessOfflineIssue({ |
137 |
my ( $msg, $checkout ) = ProcessOfflineIssue({ |
138 |
cardnumber => $patron->cardnumber, |
138 |
cardnumber => $patron->cardnumber, |
139 |
barcode => $barcode, |
139 |
barcode => $barcode, |
140 |
timestamp => $no_block_due_date, |
140 |
due_date => $no_block_due_date, |
|
|
141 |
timestamp => dt_from_string, |
141 |
}); |
142 |
}); |
|
|
143 |
$self->{due} = $self->duedatefromissue($checkout, $itemnumber); |
142 |
} else { |
144 |
} else { |
143 |
# can issue |
145 |
# can issue |
144 |
my $issue = AddIssue( $patron->unblessed, $barcode, $overridden_duedate, 0 ); |
146 |
my $issue = AddIssue( $patron->unblessed, $barcode, $overridden_duedate, 0 ); |
145 |
- |
|
|