From 82dc2fff6e0602986ee3823cb8011b0272c776a3 Mon Sep 17 00:00:00 2001 From: developer Date: Mon, 13 Apr 2026 10:50:32 +0800 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87=D1=83=20agency=5Fid?= =?UTF-8?q?=20=D0=B2=20=D0=B1=D0=B8=D1=82=D1=80=D0=B8=D0=BA=D1=81=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Modules/Bitrix/Models/SendAgent.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); } }