feat!: skip accepted status to payment pending

This commit is contained in:
Methapon2001 2025-02-24 13:41:26 +07:00
parent b45753da2a
commit 2e38ea22d5

View file

@ -850,7 +850,7 @@ export class DebitNoteActionController extends Controller {
} }
return await prisma.quotation.update({ return await prisma.quotation.update({
where: { id: debitNoteId }, where: { id: debitNoteId },
data: { quotationStatus: QuotationStatus.Accepted }, data: { quotationStatus: QuotationStatus.PaymentPending },
}); });
} }
} }