From 94082bfe915d3b0337f8929a2bb27828abb5d3c7 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Thu, 21 Aug 2025 09:10:06 +0000
Subject: (최겸) 협력업체 기본정보 기능 개발 및 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../document-status-dialog.tsx                             | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

(limited to 'components/vendor-regular-registrations/document-status-dialog.tsx')

diff --git a/components/vendor-regular-registrations/document-status-dialog.tsx b/components/vendor-regular-registrations/document-status-dialog.tsx
index db3defe6..1b10760a 100644
--- a/components/vendor-regular-registrations/document-status-dialog.tsx
+++ b/components/vendor-regular-registrations/document-status-dialog.tsx
@@ -72,16 +72,6 @@ export function DocumentStatusDialog({
 }: DocumentStatusDialogProps) {
   if (!registration) return null;
 
-  // 디버깅: registration 데이터 확인
-  console.log(`📋 DocumentStatusDialog - Partners 등록 데이터:`, {
-    companyName: registration.companyName,
-    businessNumber: registration.businessNumber,
-    representative: registration.representative,
-    safetyQualificationContent: registration.safetyQualificationContent,
-    basicContractsLength: registration.basicContracts?.length || 0,
-    additionalInfo: registration.additionalInfo
-  });
-
   // 파일 다운로드 핸들러
   // const handleFileDownload = async (docKey: string, fileIndex: number = 0) => {
   //   try {
@@ -186,9 +176,9 @@ export function DocumentStatusDialog({
                 <div>액션</div>
               </div> 
               {documentStatusColumns.map((doc) => {
-                const isSubmitted = registration.documentSubmissions[
+                const isSubmitted = registration.documentSubmissions?.[
                   doc.key as keyof typeof registration.documentSubmissions
-                ] as boolean;
+                ] as boolean || false;
 
                 // 내자인 경우 통장사본은 표시하지 않음
                 const isForeign = registration.country !== 'KR';
-- 
cgit v1.2.3

