View | Details | Raw Unified | Return to bug 16768
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/format_price.inc (-1 / +7 lines)
Lines 7-18 Link Here
7
            decimal_point: ',',
7
            decimal_point: ',',
8
            decimal_digits: 2
8
            decimal_digits: 2
9
        };
9
        };
10
    [% ELSIF Koha.Preference("CurrencyFormat") == 'CH' %]
11
        var default_value = {
12
            thousands_sep: '\'',
13
            decimal_point: '.',
14
            decimal_digits: 2
15
        };
10
    [% ELSE %]
16
    [% ELSE %]
11
        var default_value = {
17
        var default_value = {
12
            thousands_sep: ',',
18
            thousands_sep: ',',
13
            decimal_point: '.',
19
            decimal_point: '.',
14
            decimal_digits: 2
20
            decimal_digits: 2
15
        };
21
        };
22
16
    [% END %]
23
    [% END %]
17
    Number.prototype.format_price = function( value, params ) {
24
    Number.prototype.format_price = function( value, params ) {
18
        params = params == undefined ? {} : params;
25
        params = params == undefined ? {} : params;
19
- 

Return to bug 16768