summaryrefslogtreecommitdiff
path: root/lib/approval/handlers-registry.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-06 20:01:16 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-06 20:01:16 +0900
commit4c07f977c951cd99dd50d3bdaad0437e3dd55e6d (patch)
tree77c0db24854ed1ecde821d4a79543e82fa75eaed /lib/approval/handlers-registry.ts
parent1b843e0a7ea55c64992f55033b30037239ff67f5 (diff)
(김준회) ITB/RFQ/일반견적: 발송시 첨부파일 있는 경우 '암호화해제 결재' 프로세스 타도록 변경
Diffstat (limited to 'lib/approval/handlers-registry.ts')
-rw-r--r--lib/approval/handlers-registry.ts5
1 files changed, 5 insertions, 0 deletions
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');