From 8077419e40368dc703f94d558fc746b73fbc6702 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 19 Aug 2025 09:23:47 +0000
Subject: (최겸) 구매 PQ 비밀유지계약서 별첨 첨부파일 추가, 정규업체등록관리
 개발
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../vendor-regular-registrations-table-columns.tsx | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

(limited to 'lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx')

diff --git a/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx b/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx
index 765b0279..7446716b 100644
--- a/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx
+++ b/lib/vendor-regular-registrations/table/vendor-regular-registrations-table-columns.tsx
@@ -13,29 +13,23 @@ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigge
 import { Eye, FileText, Ellipsis, Shield, Package } from "lucide-react"
 import { toast } from "sonner"
 import { useState } from "react"
-import { SafetyQualificationUpdateSheet } from "./safety-qualification-update-sheet"
-import { MajorItemsUpdateSheet } from "../major-items-update-sheet"
+import { SafetyQualificationUpdateDialog } from "./safety-qualification-update-dialog"
+import { MajorItemsUpdateDialog } from "./major-items-update-dialog"
 
 
 const statusLabels = {
-  audit_pass: "실사통과",
-  cp_submitted: "CP등록",
-  cp_review: "CP검토",
-  cp_finished: "CP완료",
+  under_review: "검토중",
   approval_ready: "조건충족",
-  registration_requested: "등록요청됨",
   in_review: "정규등록검토",
+  completed: "등록완료",
   pending_approval: "장기미등록",
 }
 
 const statusColors = {
-  audit_pass: "bg-blue-100 text-blue-800",
-  cp_submitted: "bg-green-100 text-green-800",
-  cp_review: "bg-yellow-100 text-yellow-800",
-  cp_finished: "bg-purple-100 text-purple-800",
+  under_review: "bg-blue-100 text-blue-800",
   approval_ready: "bg-emerald-100 text-emerald-800",
-  registration_requested: "bg-indigo-100 text-indigo-800",
   in_review: "bg-orange-100 text-orange-800",
+  completed: "bg-green-100 text-green-800",
   pending_approval: "bg-red-100 text-red-800",
 }
 
@@ -295,7 +289,7 @@ export function getColumns(): ColumnDef<VendorRegularRegistration>[] {
 
                 </DropdownMenuContent>
               </DropdownMenu>
-              <SafetyQualificationUpdateSheet
+              <SafetyQualificationUpdateDialog
                 open={safetyQualificationSheetOpen}
                 onOpenChange={setSafetyQualificationSheetOpen}
                 registrationId={registration.id}
@@ -306,7 +300,7 @@ export function getColumns(): ColumnDef<VendorRegularRegistration>[] {
                   window.location.reload()
                 }}
               />
-              <MajorItemsUpdateSheet
+              <MajorItemsUpdateDialog
                 open={majorItemsSheetOpen}
                 onOpenChange={setMajorItemsSheetOpen}
                 registrationId={registration.id}
-- 
cgit v1.2.3

