From 20800b214145ee6056f94ca18fa1054f145eb977 Mon Sep 17 00:00:00 2001 From: dujinkim 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 ( - - - - Vendor Contacts - - {contacts.length > 0 - ? `Showing ${contacts.length} contacts for investigation #${investigationId}` - : `No contacts found for investigation #${investigationId}`} - - - - {contacts.length > 0 ? ( -
- {contacts.map((contact, index) => ( -
- - {contact.contactName?.charAt(0) || "C"} - -
-

{contact.contactName || "Unnamed"}

- {contact.contactEmail && ( -

- {contact.contactEmail} -

- )} - {contact.contactPhone && ( -

- {contact.contactPhone} -

- )} - {contact.contactPosition && ( -

- Position: {contact.contactPosition} -

- )} -
-
- ))} -
- ) : ( -
- No contacts available -
- )} -
- - - -
-
- ) -} \ No newline at end of file -- cgit v1.2.3