• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/journal.php
  • Класс: BitrixSaleTradingPlatformVkJournal
  • Вызов: Journal::getProgressMessage
static function getProgressMessage($exportId, $type)
{
	$type = FeedManager::prepareType($type);
	
	$journal = self::getStatistic($type, $exportId);
	$count = $journal[$type]['COUNT'] ? $journal[$type]['COUNT'] : 0;
	
	$detailsMsg = '

' . date('G:i - ') . Loc::getMessage('VK_JOURNAL_PROCESSING_COUNT', array("#C1" => $count)) . '

'; $detailsMsg .= '

' . Loc::getMessage('VK_JOURNAL_RUNNING_NOTIFY_1') . '
' . Loc::getMessage('VK_JOURNAL_RUNNING_NOTIFY_2') . '

'; ob_start(); CAdminMessage::ShowMessage(array( "MESSAGE" => Loc::getMessage("VK_JOURNAL_NOW_EXPORT_" . $type), "DETAILS" => '

' . $detailsMsg . '

' . '', "HTML" => true, "TYPE" => "PROGRESS", )); $res = ob_get_clean(); return $res; }