solved bufg in not ok validation logic #1489
@@ -4099,7 +4099,7 @@ class CreateInvoiceValidation extends CreateRecord
|
||||
|
||||
$notOkPanelBox = PanelBoxValidation::where('plant_id', $plantId)->where('panel_box_supplier', $supplierNo)->where('panel_box_serial_number', $pBoxSNo)->first();
|
||||
|
||||
if($notOkPanelBox->status == 'NotOK'){
|
||||
if($notOkPanelBox->status == 'NotOk'){
|
||||
Notification::make()
|
||||
->title('Not Ok Serial Number')
|
||||
->body("scanned panel box serial number '$serialNumber' failed testing (NOT OK). Please scan the serial number of an OK panel box..")
|
||||
|
||||
Reference in New Issue
Block a user