1
0
forked from poc/pds

Added plant in where condition in invoice

This commit is contained in:
dhanabalan
2026-09-11 11:54:26 +05:30
parent 369a41fa5c
commit 0fb1b26928

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'){