fix: wrong calc
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
This commit is contained in:
parent
19502acd8a
commit
ffabcd6ea0
1 changed files with 1 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ export class StatsController extends Controller {
|
|||
])
|
||||
.select(["Payment.paymentStatus"])
|
||||
.selectAll(["Invoice"])
|
||||
.distinctOn("Quotation.id");
|
||||
.distinctOn("Invoice.id");
|
||||
|
||||
if (!isSystem(req.user)) {
|
||||
query = query.where(permissionQueryCondCompany(req.user));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue