Changed duplicate logic in invoice validation #1300
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user