solved bufg in not ok validation logic #1489

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-20 05:45:58 +00:00

View File

@@ -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..")