1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
storesaledashboard.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\Integration\Report\Dashboard;
4
5use Bitrix\Catalog\Integration\Report\Dashboard\Group\Group;
6use Bitrix\Catalog\Integration\Report\Dashboard\Group\StoreGroup;
7use Bitrix\Catalog\Integration\Report\Filter\StoreSaleFilter;
8use Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleChart;
9use Bitrix\Catalog\Integration\Report\View\StoreSale\StoreSaleGrid;
10use Bitrix\Main\Localization\Loc;
11use Bitrix\Report\VisualConstructor\AnalyticBoard;
12
14{
15 public const BOARD_VERSION = 'v2';
16 public const BOARD_KEY = 'catalog_warehouse_sale';
17
18 public const ACCESS_BOARD_ID = 1;
19
20 public function getBoardKey(): string
21 {
22 return static::BOARD_KEY;
23 }
24
25 public function getAccessBoardId(): int
26 {
27 return self::ACCESS_BOARD_ID;
28 }
29
30 public function getBoardVersion(): string
31 {
32 return static::BOARD_VERSION;
33 }
34
36 {
37 $analyticBoard = parent::getAnalyticBoard();
38 $analyticBoard->setFilter(new StoreSaleFilter($this->getBoardKey()));
39
40 return $analyticBoard;
41 }
42
43 protected static function getDefaultGroup(): Group
44 {
45 return (new StoreGroup());
46 }
47
48 protected static function getDefaultViewList(): array
49 {
50 return [
51 new StoreSaleChart(),
52 new StoreSaleGrid(),
53 ];
54 }
55
56 public function getBoardTitle(): string
57 {
58 return Loc::getMessage('STORE_SALE_DASHBOARD_TITLE');
59 }
60}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804