diff options
Diffstat (limited to 'lib/procurement-rfqs')
| -rw-r--r-- | lib/procurement-rfqs/services.ts | 4 | ||||
| -rw-r--r-- | lib/procurement-rfqs/table/detail-table/vendor-communication-drawer.tsx | 4 | ||||
| -rw-r--r-- | lib/procurement-rfqs/table/pr-item-dialog.tsx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/procurement-rfqs/services.ts b/lib/procurement-rfqs/services.ts index 3816605c..9cca4c73 100644 --- a/lib/procurement-rfqs/services.ts +++ b/lib/procurement-rfqs/services.ts @@ -940,8 +940,8 @@ export async function sendRfq(rfqId: number) { projectCode: rfq.project?.code || '', projectName: rfq.project?.name || '', description: rfq.remark || '', - dueDate: rfq.dueDate ? formatDate(rfq.dueDate) : 'N/A', - deliveryDate: detail.deliveryDate ? formatDate(detail.deliveryDate) : 'N/A', + dueDate: rfq.dueDate ? formatDate(rfq.dueDate, "KR") : 'N/A', + deliveryDate: detail.deliveryDate ? formatDate(detail.deliveryDate, "KR") : 'N/A', }, vendor: { id: detail.vendor.id, diff --git a/lib/procurement-rfqs/table/detail-table/vendor-communication-drawer.tsx b/lib/procurement-rfqs/table/detail-table/vendor-communication-drawer.tsx index 34efdfc2..e43fc676 100644 --- a/lib/procurement-rfqs/table/detail-table/vendor-communication-drawer.tsx +++ b/lib/procurement-rfqs/table/detail-table/vendor-communication-drawer.tsx @@ -278,7 +278,7 @@ export function VendorCommunicationDrawer({ {selectedAttachment.fileName} </DialogTitle> <DialogDescription> - {formatFileSize(selectedAttachment.fileSize)} • {formatDateTime(selectedAttachment.uploadedAt)} + {formatFileSize(selectedAttachment.fileSize)} • {formatDateTime(selectedAttachment.uploadedAt, "KR")} </DialogDescription> </DialogHeader> @@ -417,7 +417,7 @@ export function VendorCommunicationDrawer({ )} <div className="text-xs mt-1 opacity-70 flex items-center gap-1 justify-end"> - {formatDateTime(comment.createdAt)} + {formatDateTime(comment.createdAt, "KR")} </div> </div> diff --git a/lib/procurement-rfqs/table/pr-item-dialog.tsx b/lib/procurement-rfqs/table/pr-item-dialog.tsx index 4523295d..aada8438 100644 --- a/lib/procurement-rfqs/table/pr-item-dialog.tsx +++ b/lib/procurement-rfqs/table/pr-item-dialog.tsx @@ -217,7 +217,7 @@ export function PrDetailsDialog({ <TableCell>{item.materialDescription || "-"}</TableCell> <TableCell className="whitespace-nowrap">{item.size || "-"}</TableCell> <TableCell className="whitespace-nowrap"> - {item.deliveryDate ? formatDate(item.deliveryDate) : "-"} + {item.deliveryDate ? formatDate(item.deliveryDate, "KR") : "-"} </TableCell> <TableCell className="whitespace-nowrap">{item.quantity || "-"}</TableCell> <TableCell className="whitespace-nowrap">{item.uom || "-"}</TableCell> |
