добавил передачу agency_id в битрикс при создании контакта
This commit is contained in:
parent
966b368aec
commit
82dc2fff6e
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user