Merge pull request 'Added plant in where condition in invoice' (#1016) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Reviewed-on: #1016
This commit was merged in pull request #1016.
This commit is contained in:
@@ -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'){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user