From 2e38ea22d5cad8fdc3fd4f987dac336fc14a75b8 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 24 Feb 2025 13:41:26 +0700 Subject: [PATCH] feat!: skip accepted status to payment pending --- src/controllers/09-debit-note-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/09-debit-note-controller.ts b/src/controllers/09-debit-note-controller.ts index 36fa432..bca4057 100644 --- a/src/controllers/09-debit-note-controller.ts +++ b/src/controllers/09-debit-note-controller.ts @@ -850,7 +850,7 @@ export class DebitNoteActionController extends Controller { } return await prisma.quotation.update({ where: { id: debitNoteId }, - data: { quotationStatus: QuotationStatus.Accepted }, + data: { quotationStatus: QuotationStatus.PaymentPending }, }); } }