- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/entity/paymentdocumentsrepository.php
- Класс: Bitrix\Crm\Entity\objects
- Вызов: objects::formatResult
private function formatResult(): array
{
return [
'OWNER_ID' => $this->ownerId,
'OWNER_TYPE_ID' => $this->ownerTypeId,
'ORDERS' => $this->orders,
'DOCUMENTS' => $this->documents,
'ORDER_IDS' => $this->orderIds,
'CURRENCY_ID' => $this->currencyId,
'CURRENCY_FORMAT' => $this->currencyFormat,
'ENTITY_AMOUNT' => $this->entityAmount,
'PAID_AMOUNT' => $this->paidSum,
'TOTAL_AMOUNT' => $this->totalSum > 0 ? $this->totalSum : 0.0,
];
}