fix: stats will only take non canceled status
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 3s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 3s
This commit is contained in:
parent
f162081370
commit
c9939bf8bb
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ export class StatsController extends Controller {
|
|||
createdAt: { gte: v, lte: date.endOf("month").toDate() },
|
||||
invoice: {
|
||||
quotation: {
|
||||
NOT: { quotationStatus: QuotationStatus.Canceled },
|
||||
quotationStatus: { notIn: [QuotationStatus.Canceled] },
|
||||
registeredBranch: { OR: permissionCondCompany(req.user) },
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue