• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/shipmentcollection.php
  • Класс: BitrixSaleShipmentCollection
  • Вызов: ShipmentCollection::allowDelivery
public function allowDelivery()
{
	$result = new Result();

	$collection = $this->getNotSystemItems();

	/** @var Shipment $shipment */
	foreach ($collection as $shipment)
	{
		$r = $shipment->allowDelivery();
		if (!$r->isSuccess())
		{
			$result->addErrors($r->getErrors());
		}
	}
	return $result;
}