changed logic in panel box
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user