From 7cce8ae875a4b82771a0c84841728f9da6e20af5 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 --- 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 8a92abbaa0..23bbda62d7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -350,7 +350,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 %] @@ -363,7 +363,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