feat: also include customer and its registered branch

This commit is contained in:
Methapon Metanipat 2024-10-10 11:38:37 +07:00
parent 7cd5a64f20
commit c4b6d08bd8

View file

@ -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,