From 13ad7a4bf192e5f1a0f8dcc1161d663563270a64 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:07:55 +0700 Subject: [PATCH] feat: also include customer --- src/controllers/08-credit-note-controller.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/controllers/08-credit-note-controller.ts b/src/controllers/08-credit-note-controller.ts index ddda39b..971673e 100644 --- a/src/controllers/08-credit-note-controller.ts +++ b/src/controllers/08-credit-note-controller.ts @@ -164,6 +164,11 @@ export class CreditNoteController extends Controller { quotation: { include: { registeredBranch: true, + customerBranch: { + include: { + customer: true, + }, + }, }, }, requestWork: {