From f1562668ae4cbfeac2084cece0e109a6486f3b62 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Thu, 17 Oct 2024 16:53:28 +0700 Subject: [PATCH] feat: include more relation --- src/controllers/05-quotation-controller.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 51eab26..8e136ba 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -226,7 +226,13 @@ export class QuotationController extends Controller { registeredBranch: true, customerBranch: true, worker: { - include: { employee: true }, + include: { + employee: { + include: { + employeePassport: true, + }, + }, + }, }, productServiceList: { include: {