changed not ok logic in create invoice validation
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 23s
Laravel Pint / pint (pull_request) Successful in 3m20s
Laravel Larastan / larastan (pull_request) Failing after 5m38s

This commit is contained in:
dhanabalan
2026-11-20 10:59:01 +05:30
parent 6422c3c72d
commit 011f5bb291

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()