From d3ff18a2320eeb400dc5d18588490c775bff4820 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 12 Nov 2025 08:39:01 +0000
Subject: (임수민) GTC 기본계약 코멘트 관련 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/basic-contract/gtc-vendor/gtc-clauses-table-toolbar-actions.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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

diff --git a/lib/basic-contract/gtc-vendor/gtc-clauses-table-toolbar-actions.tsx b/lib/basic-contract/gtc-vendor/gtc-clauses-table-toolbar-actions.tsx
index f0cebe5f..fe4905f7 100644
--- a/lib/basic-contract/gtc-vendor/gtc-clauses-table-toolbar-actions.tsx
+++ b/lib/basic-contract/gtc-vendor/gtc-clauses-table-toolbar-actions.tsx
@@ -45,6 +45,7 @@ interface GtcClausesTableToolbarActionsProps {
   document: any
   currentUserId?: number // 현재 사용자 ID 추가
   vendor:Vendor
+  contractId?: number
 }
 
 // GTC 조항을 위한 Excel 컬럼 정의 (실용적으로 간소화)
@@ -103,7 +104,8 @@ export function GtcClausesTableToolbarActions({
   table,
   documentId,
   document,
-  vendor
+  vendor,
+  contractId
 }: GtcClausesTableToolbarActionsProps) {
   const [showCreateDialog, setShowCreateDialog] = React.useState(false)
   const [showReorderDialog, setShowReorderDialog] = React.useState(false)
@@ -344,6 +346,7 @@ export function GtcClausesTableToolbarActions({
         clauses={previewClauses}
         contractDocument={document}
         vendor={vendor}
+        contractId={contractId}
         onExport={() => {
           console.log("Export from preview dialog")
         }}
-- 
cgit v1.2.3

