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
Showing only changes of commit 011f5bb291 - Show all commits

View File

@@ -4097,7 +4097,7 @@ class CreateInvoiceValidation extends CreateRecord
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'){
Notification::make()