From a1537d94caeaf28a5328c5d10eda7b51567a6b1e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 27 Apr 2017 15:39:35 -0400 Subject: [PATCH] Bug 18504 - Amount owed on fines tab should be formatted as price if <10 or credit To test: 1 - Give a patron a fine of 1 2 - View opac fines tab, it shows as '1' 3 - Give patron a credit of '1' 4 - View opac fines tab, it shows as '1' 5 - Apply patch 6 - Both now show as '1.00' Signed-off-by: Lisa Gugliotti Signed-off-by: Julian Maurice Signed-off-by: Kyle M Hall (cherry picked from commit 6da7ed1d8c17960e1e90b8f197fe948d4ed25bad) Signed-off-by: Katrin Fischer (cherry picked from commit f31d8f2946683d066ed1fba30dff13c2ef2d9ea4) Signed-off-by: Julian Maurice --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 6596c5a457..b18c48a199 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -345,7 +345,7 @@ Using this account is not recommended because some parts of Koha will not functi You currently owe fines and charges amounting to: - [% BORROWER_INFO.amountoutstanding %] + [% BORROWER_INFO.amountoutstanding | $Price %] @@ -358,7 +358,7 @@ Using this account is not recommended because some parts of Koha will not functi Amount - You have a credit of:[% BORROWER_INFO.amountoutstanding %] + You have a credit of:[% BORROWER_INFO.amountoutstanding | $Price %] -- 2.39.5