From 2650b7c0bb0ea12b68a58c0439f72d61df04b2f1 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 25 Jul 2025 07:51:15 +0000
Subject: (대표님) 정기평가 대상, 미들웨어 수정, nextauth 토큰 처리 개선, GTC
 등 (최겸) 기술영업
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../vendor-response/detail/quotation-response-tab.tsx   | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

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

diff --git a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
index 9411ed02..087e2a4d 100644
--- a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
+++ b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx
@@ -96,10 +96,9 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) {
 
   const rfq = quotation.rfq
   const isDueDatePassed = rfq?.dueDate ? new Date(rfq.dueDate) < new Date() : false
-  // const canSubmit = !["Accepted", "Rejected"].includes(quotation.status) && !isDueDatePassed
-  // const canEdit = !["Accepted", "Rejected"].includes(quotation.status) && !isDueDatePassed
   const canSubmit = !["Accepted", "Rejected"].includes(quotation.status)
   const canEdit = !["Accepted", "Rejected"].includes(quotation.status)
+
   // 파일 업로드 핸들러
   const handleFileSelect = (event: React.ChangeEvent<HTMLInputElement>) => {
     const files = event.target.files
@@ -264,13 +263,13 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) {
                 <div className="text-sm font-medium text-muted-foreground">견적서 상태</div>
                 <div className="text-sm">{getStatusLabel(quotation.status)}</div>
               </div>
-              <div className="space-y-2">
+              {/* <div className="space-y-2">
                 <div className="text-sm font-medium text-muted-foreground">RFQ 마감일</div>
                 <div className="text-sm">
                   {rfq?.dueDate ? formatDate(rfq.dueDate) : "N/A"}
                 </div>
-              </div>
-              <div className="space-y-2">
+              </div> */}
+              {/* <div className="space-y-2">
                 <div className="text-sm font-medium text-muted-foreground">남은 시간</div>
                 <div className="text-sm">
                   {isDueDatePassed ? (
@@ -283,19 +282,19 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) {
                     "N/A"
                   )}
                 </div>
-              </div>
+              </div> */}
             </div>
 
-            {isDueDatePassed && (
+            {/* {isDueDatePassed && (
               <Alert>
                 <AlertCircle className="h-4 w-4" />
                 <AlertDescription>
                   RFQ 마감일이 지났습니다. 견적서를 수정하거나 제출할 수 없습니다.
                 </AlertDescription>
               </Alert>
-            )}
+            )} */}
 
-            {!canEdit && !isDueDatePassed && (
+            {!canEdit && (
               <Alert>
                 <AlertCircle className="h-4 w-4" />
                 <AlertDescription>
-- 
cgit v1.2.3

