From 186da30d4459fb97b7dd694cb90ad426796906ca Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 26 Nov 2024 13:53:57 +0700 Subject: [PATCH] feat: order installments by no --- src/controllers/05-quotation-controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index fa35e1c..c65393f 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -231,7 +231,9 @@ export class QuotationController extends Controller { invoice: { include: { payment: true }, }, - paySplit: true, + paySplit: { + orderBy: { no: "asc" }, + }, createdBy: true, updatedBy: true, },