From 10f90dc68dec42e9a64e081cc0dce6a484447290 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 29 Jul 2025 11:48:59 +0000
Subject: (대표님, 박서영, 최겸) document-list-only, gtc, vendorDocu,
 docu-list-rule
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../template/basic-contract-template-columns.tsx    | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

(limited to 'lib/basic-contract/template/basic-contract-template-columns.tsx')

diff --git a/lib/basic-contract/template/basic-contract-template-columns.tsx b/lib/basic-contract/template/basic-contract-template-columns.tsx
index 5783ca27..446112db 100644
--- a/lib/basic-contract/template/basic-contract-template-columns.tsx
+++ b/lib/basic-contract/template/basic-contract-template-columns.tsx
@@ -120,7 +120,7 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef
 
       const handleViewDetails = () => {
         // templateName이 "General GTC"인 경우 특별한 라우팅
-        if (template.templateName === "General GTC") {
+        if (template.templateName === "GTC") {
           router.push(`/evcp/basic-contract-template/gtc`);
         } else {
           // 일반적인 경우는 기존과 동일
@@ -141,8 +141,8 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef
           </DropdownMenuTrigger>
           <DropdownMenuContent align="end" className="w-44">
             <DropdownMenuItem onSelect={handleViewDetails}>
-              <Eye className="mr-2 h-4 w-4" />
-              View Details
+              {/* <Eye className="mr-2 h-4 w-4" /> */}
+              상세보기
             </DropdownMenuItem>
 
             <DropdownMenuSeparator />
@@ -150,8 +150,8 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef
             <DropdownMenuItem
               onSelect={() => setRowAction({ row, type: "createRevision" })}
             >
-              <GitBranch className="mr-2 h-4 w-4" />
-              리비전 생성
+              {/* <GitBranch className="mr-2 h-4 w-4" /> */}
+              리비전 생성하기
             </DropdownMenuItem>
 
             <DropdownMenuSeparator />
@@ -182,8 +182,8 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef
             <DropdownMenuItem
               onSelect={() => setRowAction({ row, type: "delete" })}
             >
-              Delete
-              <DropdownMenuShortcut>⌘⌫</DropdownMenuShortcut>
+              삭제하기
+              {/* <DropdownMenuShortcut>⌘⌫</DropdownMenuShortcut> */}
             </DropdownMenuItem>
           </DropdownMenuContent>
         </DropdownMenu>
@@ -221,7 +221,12 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef
         const template = row.original;
 
         const handleClick = () => {
-          router.push(`/evcp/basic-contract-template/${template.id}`);
+          if (template.templateName === "GTC") {
+            router.push(`/evcp/basic-contract-template/gtc`);
+          } else {
+            // 일반적인 경우는 기존과 동일
+            router.push(`/evcp/basic-contract-template/${template.id}`);
+          }
         };
 
         return (
-- 
cgit v1.2.3

