From c6ec8a3ac09ec3ae5477abde7b32a0c616e21613 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 28 Nov 2026 11:00:10 +0530 Subject: [PATCH] changed notification block in panel check list --- app/Livewire/PanelCheckList.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/Livewire/PanelCheckList.php b/app/Livewire/PanelCheckList.php index 22906d44..361b1f8a 100644 --- a/app/Livewire/PanelCheckList.php +++ b/app/Livewire/PanelCheckList.php @@ -451,10 +451,6 @@ public $records = []; } if (! $prod) { - $insertedCount++; - } - - if ($insertedCount != count($this->records)) { Notification::make() ->title('Failed to Save Production Characteristics') ->body('One or more characteristic records were not inserted.') @@ -464,6 +460,16 @@ public $records = []; return; } + // if ($insertedCount != count($this->records)) { + // Notification::make() + // ->title('Failed to Save Production Characteristics') + // ->body('One or more characteristic records were not inserted.') + // ->danger() + // ->send(); + + // return; + // } + $this->showChecklist = false; $this->dispatch('checklist-saved');