Added validation of panel box code in invoice
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 19s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 22s
Laravel Pint / pint (pull_request) Successful in 3m25s
Laravel Larastan / larastan (pull_request) Failing after 7m4s

This commit is contained in:
dhanabalan
2026-12-02 14:47:09 +05:30
parent 55d49e206a
commit 9bd9e8880e

View File

@@ -852,7 +852,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();