From 97cbfa7c9f401b14a24017bcdd2bb07b57e606e3 Mon Sep 17 00:00:00 2001 From: Hugh Davenport Date: Thu, 17 Jan 2013 12:11:17 +1300 Subject: [PATCH] bug 9410 Fix formatting of discount rate The formatting for discount doesn't limit the number of decimal points for the discount rate when creating a new order from an empty record. This patch fixes that by limiting it to 2dp Signed-off-by: Hugh Davenport --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 398a568..095791d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -486,9 +486,9 @@ $(document).ready(function() [% END %] [% ELSE %] [% IF ( orderdiscount ) %] - % + % [% ELSE %] - % + % [% END %] [% END %] -- 1.7.10.4