From 59b5715ebb3e1fd7bd4eb02ce50399715734f865 Mon Sep 17 00:00:00 2001
From: 0-Zz-ang <s1998319@gmail.com>
Date: Mon, 4 Aug 2025 14:59:15 +0900
Subject: (박서영) docu-list-rule detail sheet 컴포넌트 추가 및 검색 필터 기능
 오류 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../table/combo-box-options-table-columns.tsx      | 27 ++++++++++++----------
 1 file changed, 15 insertions(+), 12 deletions(-)

(limited to 'lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx')

diff --git a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx
index e5780e9e..0e46c0ed 100644
--- a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx
+++ b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx
@@ -114,40 +114,43 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef<ComboBo
       accessorKey: "code",
       enableResizing: true,
       header: ({ column }) => (
-        <DataTableColumnHeaderSimple column={column} title="코드" />
+        <DataTableColumnHeaderSimple column={column} title="code" />
       ),
       meta: {
-        excelHeader: "코드",
+        excelHeader: "code",
         type: "text",
       },
       cell: ({ row }) => row.getValue("code") ?? "",
       minSize: 80
     },
     {
-      accessorKey: "description",
+      accessorKey: "remark",
       enableResizing: true,
       header: ({ column }) => (
-        <DataTableColumnHeaderSimple column={column} title="값" />
+        <DataTableColumnHeaderSimple column={column} title="remark" />
       ),
       meta: {
-        excelHeader: "값",
+        excelHeader: "remark",
         type: "text",
       },
-      cell: ({ row }) => row.getValue("description") ?? "",
+      cell: ({ row }) => row.getValue("remark") ?? "",
       minSize: 80
     },
     {
-      accessorKey: "remark",
+      accessorKey: "updatedAt",
       enableResizing: true,
       header: ({ column }) => (
-        <DataTableColumnHeaderSimple column={column} title="비고" />
+        <DataTableColumnHeaderSimple column={column} title="updated_at" />
       ),
       meta: {
-        excelHeader: "비고",
-        type: "text",
+        excelHeader: "updated_at",
+        type: "date",
       },
-      cell: ({ row }) => row.getValue("remark") ?? "",
-      minSize: 80
+      cell: ({ row }) => {
+        const date = row.getValue("updatedAt") as Date
+        return date ? new Date(date).toLocaleDateString('ko-KR') : ""
+      },
+      minSize: 100
     }
   ]
 
-- 
cgit v1.2.3

