From 4c07f977c951cd99dd50d3bdaad0437e3dd55e6d Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 6 Nov 2025 20:01:16 +0900
Subject: (김준회) ITB/RFQ/일반견적: 발송시 첨부파일 있는 경우 '암호화해제
결재' 프로세스 타도록 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lib/approval/handlers-registry.ts | 5 +
...\264\354\240\234 \354\213\240\354\262\255.html" | 180 +++++++++++++++++++++
2 files changed, 185 insertions(+)
create mode 100644 "lib/approval/templates/\354\225\224\355\230\270\355\231\224\355\225\264\354\240\234 \354\213\240\354\262\255.html"
(limited to 'lib/approval')
diff --git a/lib/approval/handlers-registry.ts b/lib/approval/handlers-registry.ts
index 7f3261bc..a92c5ce5 100644
--- a/lib/approval/handlers-registry.ts
+++ b/lib/approval/handlers-registry.ts
@@ -44,6 +44,11 @@ export async function initializeApprovalHandlers() {
// const { approveContractInternal } = await import('@/lib/contract/handlers');
// registerActionHandler('contract_approval', approveContractInternal);
+ // 6. RFQ 발송 핸들러 (첨부파일이 있는 경우)
+ const { sendRfqWithApprovalInternal } = await import('@/lib/rfq-last/approval-handlers');
+ // RFQ 발송 핸들러 등록 (결재 승인 후 실행될 함수 sendRfqWithApprovalInternal)
+ registerActionHandler('rfq_send_with_attachments', sendRfqWithApprovalInternal);
+
// ... 추가 핸들러 등록
console.log('[Approval Handlers] All handlers registered successfully');
diff --git "a/lib/approval/templates/\354\225\224\355\230\270\355\231\224\355\225\264\354\240\234 \354\213\240\354\262\255.html" "b/lib/approval/templates/\354\225\224\355\230\270\355\231\224\355\225\264\354\240\234 \354\213\240\354\262\255.html"
new file mode 100644
index 00000000..e2bcacff
--- /dev/null
+++ "b/lib/approval/templates/\354\225\224\355\230\270\355\231\224\355\225\264\354\240\234 \354\213\240\354\262\255.html"
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+ 결재 사유
+
+
+ 첨부자료가 사외업체에 송부되므로, 정보보호 그룹의 보안지침에 따른 결재
+ 요청
+
+
+
+
+
+
+
+ |
+ 파일 목록
+ |
+
+
+
+
+ |
+ {{파일 테이블}}
+ |
+
+
+
+
+
+
+
+
+ |
+ 제출처
+ |
+
+
+
+
+ |
+ {{제출처}}
+ |
+
+
+
+
+
+
+
+
+ |
+ 신청 사유
+ |
+
+
+
+
+ |
+ {{신청사유}}
+ |
+
+
+
+
--
cgit v1.2.3