getRequest(); if (RetailcrmConfigProvider::isOnlineConsultantEnabled() && $request->isAdminSection() !== true) { \Bitrix\Main\Page\Asset::getInstance()->addString( RetailcrmConfigProvider::getOnlineConsultantScript(), true ); return true; } else { return false; } } }