From 3856d9e5dda22c8f0264a27038426a96552528b0 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 6 Apr 2018 14:15:59 +0000 Subject: [PATCH] Bug 12310 : Follow up to keep the example text in fines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This puts the example text back in with the correct decimal separator. The example uses the first char of the syspref. TEST PLAN --------- 1) set the I18N/L10N DecimalSeparators syspref to "," 2) go to a patron's fines tab. 3) open Create manual invoice and Create manual credit tabs 4) check both tabs -- Example: 5.00 appears 5) apply this patch 6) reload the page and check both create tabs. -- Example: 5,12 appears 7) set the I18N/L10N DecimalSeparators syspref to ".," 8) go back and check both tabs. -- Example: 5.12 appears (only the first separator is picked) 9) optionnal: run koha qa test tools Signed-off-by: Séverine QUEUNE Signed-off-by: Sonia Bouis --- koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt index 4a6ffe3..0c38eb5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt @@ -42,7 +42,7 @@
  • -
  • +
  • Example: 5[% Koha.Preference('DecimalSeparators') | truncate(1, '') %]12
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt index 396b875..195577c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt @@ -54,7 +54,7 @@
  • -
  • +
  • Example: 5[% Koha.Preference('DecimalSeparators') | truncate(1, '') %]12
  • Cancel
    -- 2.7.4