solved bufg in not ok validation logic
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 19s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Laravel Pint / pint (pull_request) Successful in 2m5s
Laravel Larastan / larastan (pull_request) Failing after 8m10s

This commit is contained in:
dhanabalan
2026-11-20 11:15:43 +05:30
parent 011f5bb291
commit dc9e2be610

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