Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
orderbasket.php
1<?php
2
4
7
8class OrderBasket extends Template
9{
10 protected $name = "basket";
11
15 public function buildBlock()
16 {
17 $result = "";
18 $tablePrefix = "sale_order_basket";
19 $orderBasket = new Blocks\OrderBasket(
20 $this->order,
21 "BX.Sale.Admin.OrderBasketObj",
22 $tablePrefix,
23 true,
25 );
26
27 $result .= $orderBasket->getView();
28 $result .= '<script>
29 var row = BX("'.$tablePrefix.'sale-adm-order-basket-loading-row");
30 if (row)
31 row.style.display = "none";
32 </script>';
33 return $result;
34 }
35}