changed logic in panel box validation #1568
@@ -1249,7 +1249,7 @@ class PanelBoxValidationResource extends Resource
|
||||
->where('panel_box_supplier', $supplierNo)
|
||||
->first();
|
||||
|
||||
if ($alreadyExists) {
|
||||
if ($alreadyExists && !empty($inspecLotNo)) {
|
||||
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...')
|
||||
|
||||
Reference in New Issue
Block a user