Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/currency/ |
Upload File : |
;(function(window) { if (!window.BX) { window.BX = {}; } const 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);