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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prices.inc (-1 / +1 lines)
Lines 17-23 function Price_from_string(string){ Link Here
17
        return false;
17
        return false;
18
    }
18
    }
19
    string = string.replace(/[^0-9[% Koha.Preference('DigitSeparator') %]]/g, '');
19
    string = string.replace(/[^0-9[% Koha.Preference('DigitSeparator') %]]/g, '');
20
    string = string.replace(/[% Koha.Preference('DigitSeparator') %]/g, '.');
20
    string = string.replace(/[[% Koha.Preference('DigitSeparator') %]]/g, '.');
21
    return string;
21
    return string;
22
}
22
}
23
23
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-2 / +6 lines)
Lines 378-384 Link Here
378
        <label for="budget_period_total">Total amount: </label>
378
        <label for="budget_period_total">Total amount: </label>
379
        <input type="text" id="budget_period_total" name="budget_period_total"
379
        <input type="text" id="budget_period_total" name="budget_period_total"
380
        size="10" maxlength="80" value="[% budget_period_total | $Price on_editing => 1 %]" onchange="CheckTot(budget_period_total)" />
380
        size="10" maxlength="80" value="[% budget_period_total | $Price on_editing => 1 %]" onchange="CheckTot(budget_period_total)" />
381
        Please use the "[% Koha.Preference('DigitSeparator').substr(0,1) %]" as separator : ex "XX[% Koha.Preference('DigitSeparator').substr(0,1) %]XX"
381
    [% IF Koha.Preference('DigitSeparator') %]
382
        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 <a href="/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=DigitSeparator">here
383
</a>
384
    [% ELSE %]
385
        Please chose a digit separator by clicking <a href="/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=DigitSeparator">here </a>
386
    [% END %]
382
    </li>
387
    </li>
383
388
384
    <li>
389
    <li>
385
- 

Return to bug 12310