From 70924e8001f6128d6f813d59b2d7a5be17bb6b8d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 5 Sep 2013 15:27:58 -0400 Subject: [PATCH] Bug 10027: (follow-up) improve display of fine details on printed invoice Signed-off-by: Katrin Fischer Passes all tests and QA script. Checked invoice is correctly printed for - partially paid fines - paid fines - unpaid fines Signed-off-by: Galen Charlton (cherry picked from commit e30612bb3f0465363842ff4269245095d32dee3b) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit bf33bd5cafce6a166f5c0e54098ab38c9ac59615) Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit bf33bd5cafce6a166f5c0e54098ab38c9ac59615) --- .../prog/en/modules/members/printinvoice.tt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt index 627d466b00..d5373c0566 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt @@ -17,23 +17,23 @@ [% IF ( LibraryName ) %] - [% END %] - - - @@ -42,6 +42,7 @@ + [% FOREACH account IN accounts %] @@ -49,12 +50,13 @@ [% IF ( account.amountcredit ) %] + [% IF ( account.amountoutstandingcredit ) %] [% END %] - + [% IF ( totalcredit ) %] -- 2.39.5
+

[% LibraryName %]

+

INVOICE

+ [% IF ( branchname ) %]

[% branchname %]

[% END %]
+ Bill to: [% firstname %] [% surname %]
Card number: [% cardnumber %]
Date Description of charges AmountAmount outstanding
[% account.date %] [% account.description %][% ELSE %][% END %][% account.amount %][% ELSE %][% END %][% account.amountoutstanding %]
Total outstanding dues as on date: Total outstanding dues as on date: [% ELSE %][% END %][% total %]