added logic in of panel inspection
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Pint / pint (pull_request) Successful in 4m21s
Laravel Larastan / larastan (pull_request) Failing after 5m5s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Pint / pint (pull_request) Successful in 4m21s
Laravel Larastan / larastan (pull_request) Failing after 5m5s
This commit is contained in:
@@ -846,24 +846,24 @@ class InvoiceDataTable extends Component
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $categoryExist = Item::where('code', $itemCode)->first();
|
$categoryExist = Item::where('code', $itemCode)->first();
|
||||||
|
|
||||||
// if($categoryExist?->category == 'Panel Box'){
|
if($categoryExist?->category == 'Panel Box'){
|
||||||
|
|
||||||
// $panelExist = PanelBoxValidation::where('panel_box_serial_number', $serialNumber)->where('panel_box_code', $itemCode)->where('panel_box_supplier', $supplier)->first();
|
$panelExist = PanelBoxValidation::where('panel_box_serial_number', $serialNumber)->where('panel_box_code', $itemCode)->where('panel_box_supplier', $supplier)->first();
|
||||||
|
|
||||||
// if(!$panelExist){
|
if(!$panelExist){
|
||||||
// Notification::make()
|
Notification::make()
|
||||||
// ->title('Panel Not Verified')
|
->title('Panel Not Verified')
|
||||||
// ->body("Panel Quality Inspection failed.<br>Panel Box Code: $itemCode, Item Code: {$this->currentItemCode}, Serial Number: $serialNumber.</br>")
|
->body("Panel Quality Inspection failed.<br>Panel Box Code: $itemCode, Item Code: {$this->currentItemCode}, Serial Number: $serialNumber.</br>")
|
||||||
// ->danger()
|
->danger()
|
||||||
// ->seconds(2)
|
->seconds(2)
|
||||||
// ->send();
|
->send();
|
||||||
// $this->capacitorInput = '';
|
$this->capacitorInput = '';
|
||||||
|
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
$this->package = InvoiceValidation::with('stickerMasterRelation')
|
$this->package = InvoiceValidation::with('stickerMasterRelation')
|
||||||
->where('invoice_number', $this->invoiceNumber)
|
->where('invoice_number', $this->invoiceNumber)
|
||||||
|
|||||||
Reference in New Issue
Block a user