diff options
Diffstat (limited to 'lib/rfq-last/vendor/send-rfq-dialog.tsx')
| -rw-r--r-- | lib/rfq-last/vendor/send-rfq-dialog.tsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/rfq-last/vendor/send-rfq-dialog.tsx b/lib/rfq-last/vendor/send-rfq-dialog.tsx index 34777864..ed43d87f 100644 --- a/lib/rfq-last/vendor/send-rfq-dialog.tsx +++ b/lib/rfq-last/vendor/send-rfq-dialog.tsx @@ -653,10 +653,7 @@ export function SendRfqDialog({ return; } - if (selectedAttachments.length === 0) { - toast.warning("최소 하나 이상의 첨부파일을 선택해주세요."); - return; - } + // 첨부파일은 선택사항 - 없어도 발송 가능 // 재발송 업체 확인 const resendVendors = vendorsWithRecipients.filter(v => v.sendVersion && v.sendVersion > 0); @@ -1350,12 +1347,12 @@ export function SendRfqDialog({ </Button> <Button onClick={handleSend} - disabled={isSending || isGeneratingPdfs || selectedAttachments.length === 0} + disabled={isSending || isGeneratingPdfs} > {isGeneratingPdfs ? ( <> <RefreshCw className="h-4 w-4 mr-2 animate-spin" /> - 계약서 생성중... ({Math.round(pdfGenerationProgress)}%) + RFQ 송부중... ({Math.round(pdfGenerationProgress)}%) </> ) : isSending ? ( <> |
