From 922064568d9ad1a7737df4142d638498652782ce 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 Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize (cherry picked from commit 7c5e7ca9c47ac6c8a8b7d89da46e7354d8fea69d) Signed-off-by: Fridolin Somers --- .../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.39.5