fix: some data not return
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
329c69ec3d
commit
78007f1cba
1 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ export class StatsController extends Controller {
|
|||
code: true,
|
||||
quotationStatus: true,
|
||||
customerBranch: {
|
||||
select: { customer: true },
|
||||
include: { customer: true },
|
||||
},
|
||||
finalPrice: true,
|
||||
createdAt: true,
|
||||
|
|
@ -122,7 +122,7 @@ export class StatsController extends Controller {
|
|||
code: true,
|
||||
quotation: {
|
||||
select: {
|
||||
customerBranch: { select: { customer: true } },
|
||||
customerBranch: { include: { customer: true } },
|
||||
},
|
||||
},
|
||||
payment: {
|
||||
|
|
@ -193,7 +193,7 @@ export class StatsController extends Controller {
|
|||
invoice: {
|
||||
select: {
|
||||
quotation: {
|
||||
select: { customerBranch: { select: { customer: true } } },
|
||||
select: { customerBranch: { include: { customer: true } } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue