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