changed logic in panel box
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-11-30 15:34:00 +05:30
parent f04f9b7443
commit 8b22d55122

View File

@@ -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);