• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Controller/ReceivePayment/Wizard.php
  • Класс: BitrixCrmMobileControllerReceivePaymentWizard
  • Вызов: Wizard::getProductStepProps
private function getProductStepProps(Item $entity, array $resendData): array
{
	if (isset($resendData['resendMessageMode']) && $resendData['resendMessageMode'] === true)
	{
		$grid = (new ProductGridDocumentQuery($resendData['documentId']))->execute();
	}
	else
	{
		$grid = (new ProductGridReceivePaymentQuery($entity))->execute();
	}

	return [
		'grid' => $grid,
	];
}