@@ -, +, @@ 1'234'567.89 - Apply patch - Set syspref 'CurrencyFormat' to '360'000.00 (CH)' - Go to Home > Administration > Budgets administration - Create or edit a budget with Total amount of 1234567.89 - Verify that the amount appears properly formated as 1'234'567.89 --- Koha/Number/Price.pm | 13 +++++++++++++ .../prog/en/modules/admin/preferences/acquisitions.pref | 1 + 2 files changed, 14 insertions(+) --- a/Koha/Number/Price.pm +++ a/Koha/Number/Price.pm @@ -105,6 +105,19 @@ sub _format_params { ); } + if ( $currency_format eq 'CH' ) { + $int_curr_symbol = $currency->symbol if $with_symbol; + %format_params = ( + decimal_fill => '2', + decimal_point => '.', + int_curr_symbol => $int_curr_symbol, + mon_thousands_sep => '\'', + thousands_sep => '\'', + mon_decimal_point => '.' + ); + } + + $format_params{p_cs_precedes} = $p_cs_precedes if defined $p_cs_precedes; $format_params{p_sep_by_space} = ( $int_curr_symbol and defined $p_sep_by_space ) ? $p_sep_by_space : 0; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref @@ -32,6 +32,7 @@ Acquisitions: choices: US: 360,000.00 (US) FR: 360 000,00 (FR) + CH: 360'000.00 (CH) - - Tax rates are - pref: gist --