Changed duplicate logic in invoice validation #1300

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-24 03:00:11 +00:00

View File

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