From 71e9b17389392326796a2656b74fafc9199bbb02 Mon Sep 17 00:00:00 2001 From: developer Date: Fri, 3 Apr 2026 12:58:38 +0800 Subject: [PATCH] =?UTF-8?q?plan7=20selector=20-=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=BE=D1=85=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20api=20=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php | 1 + app/Modules/Plan7/Views/livewire/selector.blade.php | 3 ++- resources/views/layouts/app.blade.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php b/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php index a3b16aa..4bd5d5b 100644 --- a/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php +++ b/app/Modules/Plan7/Http/Livewire/Plan7SelectorLivewire.php @@ -76,6 +76,7 @@ public function setHouse($id) public function setRoom($id) { + $this->room = $this->allObjects['data'][$id]; } public function unsetRoom() { diff --git a/app/Modules/Plan7/Views/livewire/selector.blade.php b/app/Modules/Plan7/Views/livewire/selector.blade.php index 761c414..30fc018 100644 --- a/app/Modules/Plan7/Views/livewire/selector.blade.php +++ b/app/Modules/Plan7/Views/livewire/selector.blade.php @@ -1,5 +1,6 @@
+
@if($room) @@ -15,7 +16,7 @@
@endif
-