• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/helpers/admin/blocks/orderanalysis.php
  • Класс: BitrixSaleHelpersAdminBlocksOrderAnalysis
  • Вызов: OrderAnalysis::printDeliveryRequestBlock
static function printDeliveryRequestBlock($shipmentId)
{
	$res = ShipmentTable::getList(
		array(
			'filter' => array('=SHIPMENT_ID' => $shipmentId),
			'select' => array(
				'REQUEST_ID',
				'REQUEST_DATE' => 'REQUEST.DATE',
			)
		)
	);

	$shipment = $res->fetch();

	if ($shipment && intval($shipment['REQUEST_ID']) > 0)
	{
		?>
			
$shipment['REQUEST_ID']])?>
: