feat: also include customer and its registered branch
This commit is contained in:
parent
7cd5a64f20
commit
c4b6d08bd8
1 changed files with 7 additions and 1 deletions
|
|
@ -202,7 +202,13 @@ export class QuotationController extends Controller {
|
|||
_count: {
|
||||
select: { worker: true },
|
||||
},
|
||||
customerBranch: true,
|
||||
customerBranch: {
|
||||
include: {
|
||||
customer: {
|
||||
include: { registeredBranch: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
paySplit: true,
|
||||
},
|
||||
take: pageSize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue