From 198cbcf93b20d3849705dcdbba439326d82b0cae Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 8 Dec 2025 03:24:15 +0000
Subject: (최겸) 기술영업 rfq 프로젝트 숨기기 기능 추가
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../vendor-response/detail/project-info-tab.tsx             | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

(limited to 'lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx')

diff --git a/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx b/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
index 8a45f529..31e87330 100644
--- a/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
+++ b/lib/techsales-rfq/vendor-response/detail/project-info-tab.tsx
@@ -16,6 +16,7 @@ interface ProjectInfoTabProps {
       dueDate: Date | null
       status: string | null
       remark: string | null
+      hideProjectInfoForVendors?: boolean
       biddingProject?: {
         id: number
         pspid: string | null
@@ -110,7 +111,9 @@ export function ProjectInfoTab({ quotation }: ProjectInfoTabProps) {
             <CardHeader>
               <CardTitle className="flex items-center gap-2">
                 프로젝트 기본 정보
-                <Badge variant="outline">{rfq.biddingProject.pspid || "N/A"}</Badge>
+                <Badge variant="outline">
+                  {rfq.hideProjectInfoForVendors ? "비공개" : (rfq.biddingProject.pspid || "N/A")}
+                </Badge>
               </CardTitle>
               <CardDescription>
                 연결된 프로젝트의 기본 정보
@@ -120,11 +123,15 @@ export function ProjectInfoTab({ quotation }: ProjectInfoTabProps) {
               <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
                 <div className="space-y-2">
                   <div className="text-sm font-medium text-muted-foreground">프로젝트 ID</div>
-                  <div className="text-sm">{rfq.biddingProject.pspid || "N/A"}</div>
+                  <div className="text-sm">
+                    {rfq.hideProjectInfoForVendors ? "비공개" : (rfq.biddingProject.pspid || "N/A")}
+                  </div>
                 </div>
                 <div className="space-y-2">
                   <div className="text-sm font-medium text-muted-foreground">프로젝트명</div>
-                  <div className="text-sm">{rfq.biddingProject.projNm || "N/A"}</div>
+                  <div className="text-sm">
+                    {rfq.hideProjectInfoForVendors ? "비공개" : (rfq.biddingProject.projNm || "N/A")}
+                  </div>
                 </div>
                 <div className="space-y-2">
                   <div className="text-sm font-medium text-muted-foreground">프로젝트 섹터</div>
-- 
cgit v1.2.3

