Метод withBaseItem
Сигнатура метода
private function withBaseItem(array $items, int $baseEntityId): array
Возвращает:
array
Описание
The base deal is a purchase of the client, but it never gets into the selection as one: the tip excludes it by filter to pass it apart, and for the screening it falls out as soon as the client has a whole selection of newer deals. The aggregate has to count it either way, and exactly once.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$items
|
array
|
—
|
—
|
$baseEntityId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/RepeatSale/DataCollector/EntityDataCollector.php
Расположение метода в файле
Строки
94–131