Merge remote-tracking branch 'origin/develop' into develop
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
commit
3bf2446611
1 changed files with 1 additions and 0 deletions
|
|
@ -503,6 +503,7 @@ export class ProductController extends Controller {
|
||||||
prisma.product.findMany({
|
prisma.product.findMany({
|
||||||
where: {
|
where: {
|
||||||
productGroup: {
|
productGroup: {
|
||||||
|
id: productGroupId,
|
||||||
registeredBranch: {
|
registeredBranch: {
|
||||||
OR: permissionCondCompany(req.user),
|
OR: permissionCondCompany(req.user),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue