fix: wrong stats count
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:
parent
f98028fe6e
commit
0f648ab8a3
1 changed files with 1 additions and 5 deletions
|
|
@ -47,11 +47,7 @@ export class RequestDataController extends Controller {
|
|||
async getRequestDataStats(@Request() req: RequestWithUser) {
|
||||
const where = {
|
||||
quotation: {
|
||||
customerBranch: {
|
||||
customer: {
|
||||
registeredBranch: { OR: permissionCond(req.user) },
|
||||
},
|
||||
},
|
||||
registeredBranch: { OR: permissionCond(req.user) },
|
||||
},
|
||||
} satisfies Prisma.RequestDataWhereInput;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue