From e92d1962a303e54fb1de3b7274b60cdd853ee92c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 13 Jun 2019 10:02:35 +0100 Subject: [PATCH] Bug 23106: Tweak display of totals on payment page This patch tweaks the display of totals on the fines payments page to clarify between the totals before and after applying credits. Test Plan: 1) Add some debts and credits to a patrons account 2) Look at the pay page before applying the patch 3) Look at the pay page after applying the patch 4) Verify the new layout is an improvment or not Signed-off-by: Martin Renvoize Signed-off-by: Owen Leonard Signed-off-by: Maryse Simard --- koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt index 10796dd..96d0d41 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -116,11 +116,19 @@ + + Total due: + [% total | $Price %] + [% IF outstanding_credits.total_outstanding < 0 %] Outstanding credits could be applied: + + Total due if credit applied: + [% total + outstanding_credits.total_outstanding | $Price %] + [% END %] [% IF ( account_grp.total ) %] @@ -128,14 +136,6 @@ [% account_grp.total | $Price %] [% END %] - - Total due: - [% IF outstanding_credits.total_outstanding < 0 %] - [% total + outstanding_credits.total_outstanding | $Price %] - [% ELSE %] - [% total | $Price %] - [% END %] - -- 2.7.4