"use client" import * as React from "react" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Badge } from "@/components/ui/badge" import { ScrollArea } from "@/components/ui/scroll-area" import { formatDate } from "@/lib/utils" interface ProjectInfoTabProps { quotation: { id: number rfq: { id: number rfqCode: string | null materialCode: string | null dueDate: Date | null status: string | null remark: string | null biddingProject?: { id: number pspid: string | null projNm: string | null sector: string | null projMsrm: string | null ptypeNm: string | null } | null createdByUser?: { id: number name: string | null email: string | null } | null } | null vendor: { id: number vendorName: string vendorCode: string | null } | null } } export function ProjectInfoTab({ quotation }: ProjectInfoTabProps) { const rfq = quotation.rfq console.log("rfq: ", rfq) if (!rfq) { return (
연결된 RFQ 정보가 없습니다.