|
Lines 221-232
elsif ( $patron && ( $op eq 'checkout' || $op eq 'renew' ) ) {
Link Here
|
| 221 |
} |
221 |
} |
| 222 |
|
222 |
|
| 223 |
AddIssue( $borrower, $barcode ); |
223 |
AddIssue( $borrower, $barcode ); |
|
|
224 |
$template->param( issued => 1 ); |
| 224 |
push @newissueslist, $barcode; |
225 |
push @newissueslist, $barcode; |
| 225 |
|
226 |
|
| 226 |
if ( $hold_existed ) { |
227 |
if ( $hold_existed ) { |
| 227 |
my $dtf = Koha::Database->new->schema->storage->datetime_parser; |
228 |
my $dtf = Koha::Database->new->schema->storage->datetime_parser; |
| 228 |
$template->param( |
229 |
$template->param( |
| 229 |
issued => 1, |
|
|
| 230 |
# If the hold existed before the check in, let's confirm that the charge line exists |
230 |
# If the hold existed before the check in, let's confirm that the charge line exists |
| 231 |
# Note that this should not be needed but since we do not have proper exception handling here we do it this way |
231 |
# Note that this should not be needed but since we do not have proper exception handling here we do it this way |
| 232 |
patron_has_hold_fee => Koha::Account::Lines->search( |
232 |
patron_has_hold_fee => Koha::Account::Lines->search( |
| 233 |
- |
|
|