Bug 15705 (QA Followup) Remove unused variable, fix typo and add due date to notice
authorNick Clemens <nick@bywatersolutions.com>
Thu, 4 May 2017 17:22:29 +0000 (13:22 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 May 2017 21:09:09 +0000 (21:09 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_15705.sql
misc/cronjobs/automatic_renewals.pl

index 35439f1..c6f8c17 100644 (file)
@@ -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');
index e0b4447..1906301 100755 (executable)
@@ -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(