From 63822ba69f8a57b986bd30bcfce95b0ab08d140f Mon Sep 17 00:00:00 2001 From: developer Date: Mon, 13 Apr 2026 16:38:37 +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 | 1 + .../Http/Livewire/ClientCreateLivewire.php | 1 + .../Views/livewire/form.blade.php | 18 ++++++++++++++++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app/Modules/Bitrix/Models/SendAgent.php b/app/Modules/Bitrix/Models/SendAgent.php index 22cc00b..c4f3eb0 100644 --- a/app/Modules/Bitrix/Models/SendAgent.php +++ b/app/Modules/Bitrix/Models/SendAgent.php @@ -14,6 +14,7 @@ public function __construct(Agent $agent) { $this->addDataItem('name', $agent->user->name); $this->addDataItem('phones', [$agent->user->phone]); + $this->addDataItem('email', $agent->user->email); $this->addDataItem('agency_id', $agent->company->bitrixId()); } } diff --git a/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php b/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php index 8dece66..978306e 100644 --- a/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php +++ b/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php @@ -25,6 +25,7 @@ class ClientCreateLivewire extends Component ///////////////////// public $agentId; public $contacts; + public $objects = []; public $complexId; public $plan7Room = false; //////////////////// diff --git a/app/Modules/ClientCreateForm/Views/livewire/form.blade.php b/app/Modules/ClientCreateForm/Views/livewire/form.blade.php index 8416eeb..396ef90 100644 --- a/app/Modules/ClientCreateForm/Views/livewire/form.blade.php +++ b/app/Modules/ClientCreateForm/Views/livewire/form.blade.php @@ -144,8 +144,22 @@ class="bi bi-plus-circle" viewBox="0 0 16 16"> - -
+
+ + +
+