From ba8cd44a0ed2c613a5f2cee06bfc9bd0f61f21c7 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 7 Nov 2025 08:39:04 +0000
Subject: (최겸) 입찰/견적 수정사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../detail/table/bidding-detail-vendor-columns.tsx | 23 ++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

(limited to 'lib/bidding/detail/table/bidding-detail-vendor-columns.tsx')

diff --git a/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx b/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
index 1de7c768..10085e55 100644
--- a/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
+++ b/lib/bidding/detail/table/bidding-detail-vendor-columns.tsx
@@ -130,17 +130,24 @@ export function getBiddingDetailVendorColumns({
       },
     },
     {
-      accessorKey: 'status',
+      accessorKey: 'invitationStatus',
       header: '상태',
       cell: ({ row }) => {
-        const status = row.original.status
-        const variant = status === 'selected' ? 'default' :
-                       status === 'submitted' ? 'secondary' :
-                       status === 'rejected' ? 'destructive' : 'outline'
+        const invitationStatus = row.original.invitationStatus
+        const variant = invitationStatus === 'bidding_submitted' ? 'default' :
+                       invitationStatus === 'pre_quote_submitted' ? 'secondary' :
+                       invitationStatus === 'bidding_declined' ? 'destructive' : 'outline'
 
-        const label = status === 'selected' ? '선정' :
-                     status === 'submitted' ? '견적 제출' :
-                     status === 'rejected' ? '거절' : '대기'
+        const label = invitationStatus === 'bidding_submitted' ? '응찰 완료' :
+                     invitationStatus === 'pre_quote_submitted' ? '사전견적 제출' :
+                     invitationStatus === 'bidding_declined' ? '응찰 거절' :
+                     invitationStatus === 'pre_quote_declined' ? '사전견적 거절' :
+                     invitationStatus === 'bidding_accepted' ? '응찰 참여' :
+                     invitationStatus === 'pre_quote_accepted' ? '사전견적 참여' :
+                     invitationStatus === 'pending' ? '대기' :
+                     invitationStatus === 'pre_quote_sent' ? '사전견적 초대' :
+                     invitationStatus === 'bidding_sent' ? '응찰 초대' :
+                     invitationStatus || '알 수 없음'
 
         return <Badge variant={variant}>{label}</Badge>
       },
-- 
cgit v1.2.3

