changed not ok logic in create invoice validation #1488

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

View File

@@ -4097,7 +4097,7 @@ class CreateInvoiceValidation extends CreateRecord
return; return;
} }
$notOkPanelBox = PanelBoxValidation::where('plant_id', $plantId)->where('panel_box_supplier', $supplierNo)->where('panel_box_serial_number', $pBoxSNO)->first(); $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() Notification::make()