...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/recurring/entity/item/invoiceentity.php
- Класс: Bitrix\Crm\Recurring\Entity\Item\InvoiceEntity
- Вызов: InvoiceEntity::calculateNextExecutionDate
protected function calculateNextExecutionDate(Date $startDate = null) { $today = new Date(); if ($startDate instanceof Date && $startDate->getTimestamp() > $today->getTimestamp()) { $map = Entity\Invoice::getParameterMapper($this->calculateParameters); $map->fillMap($this->calculateParameters); if ($map->checkMatchingDate(clone $startDate)) { return $startDate; } } return parent::calculateNextExecutionDate($startDate); }