@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/includes/prices.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/prices.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/prices.inc @@ -17,7 +17,7 @@ function Price_from_string(string){ return false; } string = string.replace(/[^0-9[% Koha.Preference('DigitSeparator') %]]/g, ''); - string = string.replace(/[% Koha.Preference('DigitSeparator') %]/g, '.'); + string = string.replace(/[[% Koha.Preference('DigitSeparator') %]]/g, '.'); return string; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -378,7 +378,12 @@ - Please use the "[% Koha.Preference('DigitSeparator').substr(0,1) %]" as separator : ex "XX[% Koha.Preference('DigitSeparator').substr(0,1) %]XX" + [% IF Koha.Preference('DigitSeparator') %] + Please use the "[% Koha.Preference('DigitSeparator').substr(0,1) %]" as separator : ex "XX[% Koha.Preference('DigitSeparator').substr(0,1) %]XX", if you want to change it, click here here + + [% ELSE %] + Please chose a digit separator by clicking here + [% END %]
  • --