• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/shipmentcollection.php
  • Класс: BitrixSaleShipmentCollection
  • Вызов: ShipmentCollection::hasAllowDelivery
public function hasAllowDelivery()
{
	$collection = $this->getNotSystemItems();

	/** @var Shipment $shipment */
	foreach ($collection as $shipment)
	{
		if ($shipment->isAllowDelivery())
		{
			return true;
		}
	}

	return false;
}