Added plant in where condition in invoice
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Larastan / larastan (pull_request) Failing after 11m56s
Laravel Pint / pint (pull_request) Failing after 12m18s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Larastan / larastan (pull_request) Failing after 11m56s
Laravel Pint / pint (pull_request) Failing after 12m18s
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