Server IP : 85.193.89.191 / Your IP : 18.188.68.169 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/bitrix/js/currency/ |
Upload File : |
;(function(window) { if (!window.BX) { window.BX = {}; } var BX = window.BX; BX.namespace('BX.Currency'); if (!BX.Currency.Core || BX.Currency.instance instanceof BX.Currency.Core) { return; } BX.Currency.instance = new BX.Currency.Core(); BX.mergeEx(BX.Currency, { setCurrencyFormat: function(currency, format, replace) { return BX.Currency.Core.setCurrencyFormat(currency, format, replace); }, setCurrencies: function(currencies, replace) { return BX.Currency.Core.setCurrencies(currencies, replace); }, getCurrencyFormat: function(currency) { return BX.Currency.Core.getCurrencyFormat(currency); }, getCurrencyIndex: function(currency) { return BX.Currency.Core.getCurrencyIndex(currency); }, clearCurrency: function(currency) { return BX.Currency.Core.clearCurrency(currency); }, clean: function() { return BX.Currency.Core.clean(); }, currencyFormat: function (price, currency, useTemplate) { return BX.Currency.Core.currencyFormat(price, currency, useTemplate); }, loadCurrencyFormat: function (currency) { return BX.Currency.Core.loadCurrencyFormat(currency); } }); })(window);