From d19859d308ac4d401744e6b049b3b0bffc5fb441 Mon Sep 17 00:00:00 2001 From: Hugh Davenport Date: Thu, 17 Jan 2013 10:07:59 +1300 Subject: [PATCH] bug 9062 Fix format for discount rate for vendors On the vendor display and edit screens, the tax rate information was formatted to 1 decimal point, while the discount rate was not. This patch adds a format string to the discount information so that it is formatted in the same way. Signed-off-by: Hugh Davenport --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index 201c080..bf5d367 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -176,7 +176,7 @@ if (f.company.value == "") { [% END %]
  1. - %
  2. + %
  3. days @@ -238,7 +238,7 @@ if (f.company.value == "") {

    Invoice item price includes tax: [% IF ( invoiceincgst ) %]Yes[% ELSE %]No[% END %]

    [% END %]

    Discount: - [% discount %] %

    + [% discount | format("%.1f") %] %

    Tax rate: [% 0 + gstrate * 100 | format("%.1f") %]%

    [% IF deliverytime.defined %] -- 1.7.10.4