From 6160e8bd61360ada9e8e0574671c38292eaba9e7 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 25 Nov 2025 11:48:21 +0000
Subject: (임수민) 준법/gtc 코멘트 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../vendor-table/basicContract-table-toolbar-actions.tsx         | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'lib/basic-contract/vendor-table/basicContract-table-toolbar-actions.tsx')

diff --git a/lib/basic-contract/vendor-table/basicContract-table-toolbar-actions.tsx b/lib/basic-contract/vendor-table/basicContract-table-toolbar-actions.tsx
index 1fc6fe6b..7bab0ad5 100644
--- a/lib/basic-contract/vendor-table/basicContract-table-toolbar-actions.tsx
+++ b/lib/basic-contract/vendor-table/basicContract-table-toolbar-actions.tsx
@@ -27,13 +27,18 @@ export function BasicContractTableToolbarActions({ table }: TemplateTableToolbar
     return translated === key ? fallback : translated;
   }, [t, ready]);
 
-  // PENDING 상태인 선택된 계약서들
+  // PENDING 또는 COMPLETED(VENDOR_SIGNED) 상태인 선택된 계약서들
+  // Vendor signed 상태에서도 코멘트를 확인할 수 있도록 포함
   const pendingContracts = React.useMemo(() => {
     return table
       .getFilteredSelectedRowModel()
       .rows
       .map(row => row.original)
-      .filter(contract => contract.status === "PENDING");
+      .filter(contract => 
+        contract.status === "PENDING" || 
+        contract.status === "COMPLETED" || 
+        contract.status === "VENDOR_SIGNED"
+      );
   }, [table.getFilteredSelectedRowModel().rows]);
 
   // 선택된 행이 있는지 확인
-- 
cgit v1.2.3

