добавил передачу agency_id в битрикс при создании контакта

This commit is contained in:
developer 2026-04-13 10:50:32 +08:00
parent 966b368aec
commit 82dc2fff6e

View File

@ -14,7 +14,6 @@ public function __construct(Agent $agent)
{
$this->addDataItem('name', $agent->user->name);
$this->addDataItem('phones', [$agent->user->phone]);
$this->addDataItem('agency_id', [$agent->company->bitrixId()]);
dd($this->data);
$this->addDataItem('agency_id', $agent->company->bitrixId());
}
}