3namespace Bitrix\Catalog\Integration\Report\Dashboard;
5use Bitrix\Catalog\Config\State;
6use Bitrix\Catalog\Integration\Report\Dashboard\Group\Group;
7use Bitrix\Catalog\Integration\Report\Dashboard\Group\StoreGroup;
8use Bitrix\Catalog\Integration\Report\Filter\StoreProfitFilter;
9use Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGraph;
10use Bitrix\Catalog\Integration\Report\View\StoreProfit\StoreProfitGrid;
11use Bitrix\Main\Localization\Loc;
12use Bitrix\Report\VisualConstructor\AnalyticBoard;
17 public const BOARD_KEY =
'catalog_warehouse_profit';
21 private bool $isBatchMethodSelected;
25 parent::__construct();
27 $this->isBatchMethodSelected = State::isProductBatchMethodSelected();
32 return static::BOARD_KEY;
37 return self::ACCESS_BOARD_ID;
43 if ($this->isBatchMethodSelected)
45 return 'active_' . self::BOARD_VERSION;
48 return 'inactive_' . self::BOARD_VERSION;
53 $analyticBoard = parent::getAnalyticBoard();
56 return $analyticBoard;
70 if (!State::isProductBatchMethodSelected())
85 return Loc::getMessage(
'STORE_PROFIT_DASHBOARD_TITLE');
static getDefaultViewList()
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)