1
0
forked from poc/pds

Merge pull request 'Added plant in where condition in invoice' (#1016) from ranjith-dev into master

Reviewed-on: poc/pds#1016
This commit is contained in:
2026-09-11 06:24:40 +00:00

View File

@@ -846,7 +846,7 @@ class InvoiceDataTable extends Component
return;
}
$categoryExist = Item::where('code', $itemCode)->first();
$categoryExist = Item::where('code', $itemCode)->where('plant_id', $this->plantId)->first();
if($categoryExist?->category == 'Panel Box'){