From d58a654129205f5f903abb805b9d0aae87844ba6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 7 Jan 2020 12:33:02 +0000 Subject: [PATCH] Bug 23113: members/pay.tt account_grp is not longer used This patch removes obsolete markup from pay.tt. To test, apply the patch and search the Koha codebase for instances of "account_grp" There should be none. Log in to the staff client and go to the account of a patron who has fines. Confirm that the "Accounting" page ("Make a payment" tab) works correctly. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 39b9750f8e01d9a0f00eb2b939c5e70cd9c81294) Signed-off-by: Lucas Gass (cherry picked from commit bd2d76f68b3c2d1330320bf771274d0d450ce60e) Signed-off-by: Hayley Mapley --- .../prog/en/modules/members/pay.tt | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 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 9f29f87abd..31faeec15d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -113,20 +113,25 @@ [% line.amountoutstanding | $Price %] [% END %] -[% IF outstanding_credits.total_outstanding < 0 %] - - Outstanding credits could be applied - [% outstanding_credits.total_outstanding | $Price %] - -[% END %] -[% IF ( account_grp.total ) %] - - - Sub total: - [% account_grp.total | $Price %] - -[% END %] + + + + 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 %] + +
-- 2.39.5