From 6faf4694e273811952b5e2e6be15ba087b7544df Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Thu, 3 Oct 2024 13:43:05 +0700 Subject: [PATCH] fix: error --- src/controllers/05-quotation-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 1daf776..90d8e60 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -593,7 +593,7 @@ export class QuotationController extends Controller { createMany: { data: (rest.paySplit || []).map((v, i) => ({ no: i + 1, - date: v, + ...v, })), }, }