From c6cae84b16e67a44eef56fc68d460f2bb10fdc08 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) Varify the new layout is an improvment or not Signed-off-by: Martin Renvoize --- .../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 10796dd9f0..96d0d41699 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.20.1