• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/delivery/extra_services/manager.php
  • Класс: BitrixSaleDeliveryExtraServicesManager
  • Вызов: Manager::getValuesForShipment
static function getValuesForShipment($shipmentId, $deliveryId)
{
	$result = array();

	if(intval($shipmentId) > 0 && intval($deliveryId) > 0)
	{
		$dbRes = ShipmentExtraServiceTable::getList(array(
			'filter' => array(
				'=SHIPMENT_ID' => $shipmentId,
				'!=ID' => self::getStoresValueId($deliveryId)
			)
		));

		while($row = $dbRes->fetch())
			$result[$row["EXTRA_SERVICE_ID"]] = $row["VALUE"];
	}

	return $result;
}