From 6021909f9e1ead99ff34968c767201d42a726ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nazl=C4=B1=20=C3=87etin?= Date: Mon, 19 Nov 2018 16:46:49 +0000 Subject: [PATCH] Bug 19489 - (Object Method) Development for fines and Fees Module - Detailed Description of charges in Patron Account Tab/Fines Tab --- members/printinvoice.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/printinvoice.pl b/members/printinvoice.pl index e10f13c1de..25b3d7e026 100755 --- a/members/printinvoice.pl +++ b/members/printinvoice.pl @@ -57,8 +57,8 @@ output_and_exit_if_error( $input, $cookie, $template, { module => 'members', log my $total = $patron->account->balance; my $accountline_object = Koha::Account::Lines->find($accountlines_id); my $accountline = $accountline_object->unblessed; -$accountline->{'item'} = $accountline_object->item; -$accountline->{'issue'} = $accountline_object->issue; +$accountline->{'item'} = $accountline->{itemnumber} ? $accountline_object->item : "" ; +$accountline->{'issue'} = $accountline->{issue_id} ? $accountline_object->issue : "" ; my $totalcredit; if ( $total <= 0 ) { -- 2.11.0