Lines 3457-3463
sub GetSoonestRenewDate {
Link Here
|
3457 |
{ |
3457 |
{ |
3458 |
$soonestrenewal->truncate( to => 'day' ); |
3458 |
$soonestrenewal->truncate( to => 'day' ); |
3459 |
} |
3459 |
} |
3460 |
return $soonestrenewal if $now < $soonestrenewal; |
3460 |
return $soonestrenewal; |
3461 |
} elsif ( $issue->auto_renew && $patron->autorenew_checkouts ) { |
3461 |
} elsif ( $issue->auto_renew && $patron->autorenew_checkouts ) { |
3462 |
# Checkouts with auto-renewing fall back to due date |
3462 |
# Checkouts with auto-renewing fall back to due date |
3463 |
my $soonestrenewal = dt_from_string( $issue->date_due ); |
3463 |
my $soonestrenewal = dt_from_string( $issue->date_due ); |
3464 |
- |
|
|