1
0
forked from poc/pds

Changed duplicate logic in invoice validation

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();