From 8b623803e7ec2f80b6a5e065e7cf04672dd368af Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Thu, 3 Oct 2024 14:16:12 +0700 Subject: [PATCH] feat: add more relation --- src/controllers/05-quotation-controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index ecc7297..7f375b9 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -209,6 +209,7 @@ export class QuotationController extends Controller { _count: { select: { worker: true }, }, + customerBranch: true, worker: { include: { employee: true }, },