Bug 21879: Code cleaning in printinvoice.pl

Coming from
  commit 51aa6db46c
  Bug 12001: Move GetMemberAccountRecords to the Koha namespace

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nazlı Çetin 2020-02-21 14:33:42 +00:00 committed by Joy Nelson
parent e41f2c9824
commit f9f7b5cc80
1 changed files with 0 additions and 12 deletions

View File

@ -74,18 +74,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'} ),
'debit_type_code' => $accountline->{'debit_type_code'},
'note' => $accountline->{'note'},
);
my @account_offsets = Koha::Account::Offsets->search( { debit_id => $accountline_object->id } );
my $letter = C4::Letters::getletter( 'circulation', 'ACCOUNT_DEBIT', C4::Context::mybranch, 'print', $patron->lang );