From ac81ee769c707cadcf3301efb74a98feea0a2fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nazl=C4=B1=20=C3=87etin?= Date: Fri, 23 Nov 2018 14:59:20 +0000 Subject: [PATCH] Bug 21879: Code cleaning in printinvoice.pl --- members/printinvoice.pl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/members/printinvoice.pl b/members/printinvoice.pl index 25b3d7e026..010717530b 100755 --- a/members/printinvoice.pl +++ b/members/printinvoice.pl @@ -76,19 +76,6 @@ if ( $accountline->{'amountoutstanding'} <= 0 ) { $accountline->{'amountoutstandingcredit'} = 1; } -my %row = ( - 'date' => dt_from_string( $accountline->{'date'} ), - 'amountcredit' => $accountline->{'amountcredit'}, - 'amountoutstandingcredit' => $accountline->{'amountoutstandingcredit'}, - 'description' => $accountline->{'description'}, - 'amount' => sprintf( "%.2f", $accountline->{'amount'} ), - 'amountoutstanding' => - sprintf( "%.2f", $accountline->{'amountoutstanding'} ), - 'accountno' => $accountline->{'accountno'}, - accounttype => $accountline->{accounttype}, - 'note' => $accountline->{'note'}, -); - $template->param( patron => $patron, finesview => 1, -- 2.11.0