Lines 510-515
END_SQL
Link Here
|
510 |
my $borrowernumber; |
510 |
my $borrowernumber; |
511 |
while ( my $data = $sth->fetchrow_hashref ) { |
511 |
while ( my $data = $sth->fetchrow_hashref ) { |
512 |
|
512 |
|
|
|
513 |
next unless ( DateTime->compare( $date_to_run, dt_from_string($data->{date_due})) ) == 1; |
514 |
|
513 |
# check the borrower has at least one item that matches |
515 |
# check the borrower has at least one item that matches |
514 |
my $days_between; |
516 |
my $days_between; |
515 |
if ( C4::Context->preference('OverdueNoticeCalendar') ) |
517 |
if ( C4::Context->preference('OverdueNoticeCalendar') ) |
516 |
- |
|
|