Merge pull request 'solved bufg in not ok validation logic' (#1489) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 17s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 17s
Reviewed-on: #1489
This commit was merged in pull request #1489.
This commit is contained in:
@@ -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..")
|
||||
|
||||
Reference in New Issue
Block a user