From 20800b214145ee6056f94ca18fa1054f145eb977 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 28 May 2025 00:32:31 +0000
Subject: (대표님) lib 파트 커밋
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/vendor-investigation/table/contract-dialog.tsx | 85 ----------------------
 1 file changed, 85 deletions(-)
 delete mode 100644 lib/vendor-investigation/table/contract-dialog.tsx

(limited to 'lib/vendor-investigation/table/contract-dialog.tsx')

diff --git a/lib/vendor-investigation/table/contract-dialog.tsx b/lib/vendor-investigation/table/contract-dialog.tsx
deleted file mode 100644
index 28e6963b..00000000
--- a/lib/vendor-investigation/table/contract-dialog.tsx
+++ /dev/null
@@ -1,85 +0,0 @@
-"use client"
-
-import * as React from "react"
-import {
-  Dialog,
-  DialogContent,
-  DialogDescription,
-  DialogHeader,
-  DialogTitle,
-  DialogFooter,
-} from "@/components/ui/dialog"
-import { Button } from "@/components/ui/button"
-import { Avatar } from "@/components/ui/avatar"
-import { ScrollArea } from "@/components/ui/scroll-area"
-import { ContactItem } from "@/config/vendorInvestigationsColumnsConfig"
-
-interface ContactsDialogProps {
-  open: boolean
-  onOpenChange: (open: boolean) => void
-  investigationId: number | null
-  contacts: ContactItem[]
-}
-
-export function ContactsDialog({
-  open,
-  onOpenChange,
-  investigationId,
-  contacts,
-}: ContactsDialogProps) {
-  return (
-    <Dialog open={open} onOpenChange={onOpenChange}>
-      <DialogContent className="sm:max-w-md">
-        <DialogHeader>
-          <DialogTitle>Vendor Contacts</DialogTitle>
-          <DialogDescription>
-            {contacts.length > 0
-              ? `Showing ${contacts.length} contacts for investigation #${investigationId}`
-              : `No contacts found for investigation #${investigationId}`}
-          </DialogDescription>
-        </DialogHeader>
-        <ScrollArea className="max-h-[60vh] pr-4">
-          {contacts.length > 0 ? (
-            <div className="space-y-4">
-              {contacts.map((contact, index) => (
-                <div
-                  key={index}
-                  className="flex items-start gap-4 p-3 rounded-lg border"
-                >
-                  <Avatar className="w-10 h-10">
-                    <span>{contact.contactName?.charAt(0) || "C"}</span>
-                  </Avatar>
-                  <div className="flex-1 space-y-1">
-                    <p className="font-medium">{contact.contactName || "Unnamed"}</p>
-                    {contact.contactEmail && (
-                      <p className="text-sm text-muted-foreground">
-                        {contact.contactEmail}
-                      </p>
-                    )}
-                    {contact.contactPhone && (
-                      <p className="text-sm text-muted-foreground">
-                        {contact.contactPhone}
-                      </p>
-                    )}
-                    {contact.contactPosition && (
-                      <p className="text-sm text-muted-foreground">
-                        Position: {contact.contactPosition}
-                      </p>
-                    )}
-                  </div>
-                </div>
-              ))}
-            </div>
-          ) : (
-            <div className="text-center py-6 text-muted-foreground">
-              No contacts available
-            </div>
-          )}
-        </ScrollArea>
-        <DialogFooter>
-          <Button onClick={() => onOpenChange(false)}>Close</Button>
-        </DialogFooter>
-      </DialogContent>
-    </Dialog>
-  )
-}
\ No newline at end of file
-- 
cgit v1.2.3

