• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/helpers/admin/blocks/ordermarker.php
  • Класс: BitrixSaleHelpersAdminBlocksOrderMarker
  • Вызов: OrderMarker::getPaymentBlockHtml
static function getPaymentBlockHtml($orderId, $id, $text, $entityId, $type = null, $forEntity = false)
{
	if(strval($text) === '')
	{
		$result = "";
	}
	else
	{

		if ($type === null || $type != EntityMarker::ENTITY_MARKED_TYPE_AUTO)
		{
			$type = EntityMarker::ENTITY_MARKED_TYPE_MANUAL;
		}

		$result = '
			
'.Loc::getMessage("SALE_ORDER_MARKER_BLOCK_PAYMENT_PROBLEM", array( '#ENTITY_ID#' => $entityId )).': '.$text. '
'; $result .= '
'; if ($type == EntityMarker::ENTITY_MARKED_TYPE_AUTO) { $result .= '
'.Loc::getMessage("SALE_ORDER_MARKER_FIX").'
'; } $result .= '
'; } return $result; }