From 9ffbed7cb83d112d5b5db588262a27bf7a750469 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 5 Mar 2025 13:54:04 +0700 Subject: [PATCH] fix: text spacing --- src/controllers/05-payment-controller.ts | 2 +- src/controllers/06-request-list-controller.ts | 10 +++++----- src/controllers/07-task-controller.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/controllers/05-payment-controller.ts b/src/controllers/05-payment-controller.ts index e0bbd20..52ead42 100644 --- a/src/controllers/05-payment-controller.ts +++ b/src/controllers/05-payment-controller.ts @@ -232,7 +232,7 @@ export class QuotationPayment extends Controller { await tx.notification.create({ data: { title: "Quotation Status Updated", - detail: res.code + res.quotationStatus, + detail: res.code + " " + res.quotationStatus, receiverId: res.createdByUserId, }, }); diff --git a/src/controllers/06-request-list-controller.ts b/src/controllers/06-request-list-controller.ts index 47d6039..841df32 100644 --- a/src/controllers/06-request-list-controller.ts +++ b/src/controllers/06-request-list-controller.ts @@ -281,7 +281,7 @@ export class RequestDataActionController extends Controller { await tx.notification.createMany({ data: res.map((v) => ({ title: "Quotation Status Updated", - detail: v.code + "Canceled", + detail: v.code + " Canceled", receiverId: v.createdByUserId, })), }); @@ -429,7 +429,7 @@ export class RequestDataActionController extends Controller { await tx.notification.createMany({ data: res.map((v) => ({ title: "Quotation Status Updated", - detail: v.code + "Canceled", + detail: v.code + " Canceled", receiverId: v.createdByUserId, })), }); @@ -520,7 +520,7 @@ export class RequestDataActionController extends Controller { await tx.notification.createMany({ data: res.map((v) => ({ title: "Quotation Status Updated", - detail: v.code + "Completed", + detail: v.code + " Completed", receiverId: v.createdByUserId, })), }); @@ -857,7 +857,7 @@ export class RequestListController extends Controller { await tx.notification.createMany({ data: res.map((v) => ({ title: "Quotation Status Updated", - detail: v.code + "Canceled", + detail: v.code + " Canceled", receiverId: v.createdByUserId, })), }); @@ -949,7 +949,7 @@ export class RequestListController extends Controller { await tx.notification.createMany({ data: res.map((v) => ({ title: "Quotation Status Updated", - detail: v.code + "Completed", + detail: v.code + " Completed", receiverId: v.createdByUserId, })), }); diff --git a/src/controllers/07-task-controller.ts b/src/controllers/07-task-controller.ts index c782294..31f44fc 100644 --- a/src/controllers/07-task-controller.ts +++ b/src/controllers/07-task-controller.ts @@ -805,7 +805,7 @@ export class TaskActionController extends Controller { await tx.notification.createMany({ data: res.map((v) => ({ title: "Quotation Status Updated", - detail: v.code + "Completed", + detail: v.code + " Completed", receiverId: v.createdByUserId, })), });