From 8b22d5512241c50f49bf9a9f5299359d15894f3e Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 30 Nov 2026 15:34:00 +0530 Subject: [PATCH] changed logic in panel box --- .../Resources/PanelBoxValidationResource.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Filament/Resources/PanelBoxValidationResource.php b/app/Filament/Resources/PanelBoxValidationResource.php index 5bc73849..3a8da42f 100644 --- a/app/Filament/Resources/PanelBoxValidationResource.php +++ b/app/Filament/Resources/PanelBoxValidationResource.php @@ -771,18 +771,18 @@ class PanelBoxValidationResource extends Resource }) ->first(); - if ($alreadyExists) { - Notification::make() - ->title('Duplicate Found') - ->body('This document number and inspection lot number have already been used for this serial number. Please provide a new document number and inspection lot number for rework...') - ->danger() - ->send(); + // if ($alreadyExists) { + // Notification::make() + // ->title('Duplicate Found') + // ->body('This document number and inspection lot number have already been used for this serial number. Please provide a new document number and inspection lot number for rework...') + // ->danger() + // ->send(); - // $livewire->showChecklist = false; - $set('item_id', null); - $set('serial_exists', false); - return; - } + // // $livewire->showChecklist = false; + // $set('item_id', null); + // $set('serial_exists', false); + // return; + // } $set('panel_box_supplier', $supplier);