Changed duplicate logic in invoice validation
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Pint / pint (pull_request) Successful in 2m46s
Laravel Larastan / larastan (pull_request) Failing after 5m16s

This commit is contained in:
dhanabalan
2026-10-24 08:29:56 +05:30
parent baf41cfea1
commit 323c396a40

View File

@@ -866,7 +866,7 @@ class InvoiceDataTable extends Component
$panelExistsInvoice = InvoiceValidation::where('plant_id', $this->plantId)
->where('panel_box_serial_number', $serialNumber)
->where('panel_box_code', $itemCode)
// ->where('panel_box_code', $itemCode)
->where('panel_box_supplier', $supplier)
->first();