diff --git a/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php b/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php index b7062f7..95bbfc3 100644 --- a/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php +++ b/app/Modules/ClientCreateForm/Http/Livewire/ClientCreateLivewire.php @@ -233,7 +233,7 @@ private function createDeal($complexId, $room) !$deal = Deal::create([ 'agent_id' => $this->agentId, 'complex_id' => $complexId, - 'plan7_data' => ($this->plan7Room) ? json_encode($room) : null + 'plan7_data' => ($room) ? json_encode($room) : null ]) ) { return false;