diff --git a/src/controllers/05-quotation-payment-controller.ts b/src/controllers/05-quotation-payment-controller.ts index e45f187..262fb68 100644 --- a/src/controllers/05-quotation-payment-controller.ts +++ b/src/controllers/05-quotation-payment-controller.ts @@ -27,6 +27,7 @@ export class QuotationPayment extends Controller { async getPayment(@Path() quotationId: string) { const record = await prisma.quotation.findFirst({ where: { id: quotationId }, + orderBy: { createdAt: "asc" }, include: { quotationPaymentData: true, createdBy: true,