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/yandex.market/orderlist/ |
Upload File : |
(function(BX, window) { const YandexMarket = BX.namespace('YandexMarket'); const OrderList = BX.namespace('YandexMarket.OrderList'); const constructor = OrderList.Print = OrderList.DialogAction.extend({ openDialog: function(type, orderIds) { const item = this.getItem(type); const url = this.buildUrl(item, orderIds); const dialog = this.createDialog(url, item); dialog.Show(); }, createDialog: function(url, item) { return new YandexMarket.PrintDialog({ title: item.DIALOG_TITLE || item.TITLE, content_url: url, width: item.WIDTH || this.options.width || this.options.minWidth, height: item.HEIGHT || this.options.height || this.options.minHeight, min_width: this.options.minWidth, min_height: this.options.minHeight, max_width: this.options.maxWidth, max_height: this.options.maxHeight, buttons: [ YandexMarket.PrintDialog.btnSave, YandexMarket.PrintDialog.btnCancel ] }); }, }, { dataName: 'orderListPrint', pluginName: 'YandexMarket.OrderList.Print', }); })(BX, window);