From bfa95990a5f2997077764f462081366ed121fb48 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Thu, 3 Oct 2024 14:09:34 +0700 Subject: [PATCH] fix: missing relation --- src/controllers/05-quotation-controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 85da40b..ecc7297 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -192,6 +192,7 @@ export class QuotationController extends Controller { service: true, }, }, + paySplit: true, }, }), prisma.quotation.count({ where }), @@ -218,6 +219,7 @@ export class QuotationController extends Controller { service: true, }, }, + paySplit: true, }, where: { id: quotationId }, });