fix: dashboard payment now taken cancled into account
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s
This commit is contained in:
parent
dfe7bd16d8
commit
f162081370
1 changed files with 1 additions and 0 deletions
|
|
@ -631,6 +631,7 @@ export class StatsController extends Controller {
|
|||
createdAt: { gte: v, lte: date.endOf("month").toDate() },
|
||||
invoice: {
|
||||
quotation: {
|
||||
NOT: { quotationStatus: QuotationStatus.Canceled },
|
||||
registeredBranch: { OR: permissionCondCompany(req.user) },
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue