diff --git a/app/Modules/Bitrix/Models/SendAgent.php b/app/Modules/Bitrix/Models/SendAgent.php index 09d3049..22cc00b 100644 --- a/app/Modules/Bitrix/Models/SendAgent.php +++ b/app/Modules/Bitrix/Models/SendAgent.php @@ -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()); } }