@@ -, +, @@ add due date to notice --- installer/data/mysql/atomicupdate/bug_15705.sql | 2 +- misc/cronjobs/automatic_renewals.pl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_15705.sql +++ a/installer/data/mysql/atomicupdate/bug_15705.sql @@ -19,5 +19,5 @@ It\'s too late to renew this checkout. You have too much unpaid fines. [% END %] [% ELSE %] -The following item [% biblio.title %] as correctly been renewed. +The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due %] [% END %]", 'email'); --- a/misc/cronjobs/automatic_renewals.pl +++ a/misc/cronjobs/automatic_renewals.pl @@ -99,7 +99,6 @@ while ( my $auto_renew = $auto_renews->next ) { if ( $send_notices ) { for my $borrowernumber ( keys %report ) { my $patron = Koha::Patrons->find($borrowernumber); - my @issues; for my $issue ( @{ $report{$borrowernumber} } ) { my $item = Koha::Items->find( $issue->itemnumber ); my $letter = C4::Letters::GetPreparedLetter( --