|
Lines 602-607
END_SQL
Link Here
|
| 602 |
my $j = 0; |
602 |
my $j = 0; |
| 603 |
my $exceededPrintNoticesMaxLines = 0; |
603 |
my $exceededPrintNoticesMaxLines = 0; |
| 604 |
while ( my $item_info = $sth2->fetchrow_hashref() ) { |
604 |
while ( my $item_info = $sth2->fetchrow_hashref() ) { |
|
|
605 |
next unless ( DateTime->compare( $date_to_run, dt_from_string($item_info->{date_due})) ) == 1; |
| 606 |
|
| 605 |
if ( C4::Context->preference('OverdueNoticeCalendar') ) { |
607 |
if ( C4::Context->preference('OverdueNoticeCalendar') ) { |
| 606 |
my $calendar = |
608 |
my $calendar = |
| 607 |
Koha::Calendar->new( branchcode => $branchcode ); |
609 |
Koha::Calendar->new( branchcode => $branchcode ); |
| 608 |
- |
|
|