• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/paymentcollection.php
  • Класс: BitrixSalePaymentCollection
  • Вызов: PaymentCollection::hasPaidPayment
public function hasPaidPayment()
{
	/** @var Payment $payment */
	foreach ($this->collection as $payment)
	{
		if ($payment->getField('PAID') === "Y")
		{
			return true;
		}
	}

	return false;
}