summaryrefslogtreecommitdiff
path: root/lib/approval/handlers-registry.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/approval/handlers-registry.ts')
-rw-r--r--lib/approval/handlers-registry.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/approval/handlers-registry.ts b/lib/approval/handlers-registry.ts
index a92c5ce5..7aec3ae5 100644
--- a/lib/approval/handlers-registry.ts
+++ b/lib/approval/handlers-registry.ts
@@ -49,6 +49,21 @@ export async function initializeApprovalHandlers() {
// RFQ 발송 핸들러 등록 (결재 승인 후 실행될 함수 sendRfqWithApprovalInternal)
registerActionHandler('rfq_send_with_attachments', sendRfqWithApprovalInternal);
+ // 7. 기술영업 RFQ 발송 핸들러 (DRM 파일이 있는 경우)
+ const {
+ sendTechSalesRfqWithApprovalInternal,
+ resendTechSalesRfqWithDrmInternal
+ } = await import('@/lib/techsales-rfq/approval-handlers');
+ // 기술영업 RFQ 발송 핸들러 등록 (결재 승인 후 실행될 함수 sendTechSalesRfqWithApprovalInternal)
+ registerActionHandler('tech_sales_rfq_send_with_drm', sendTechSalesRfqWithApprovalInternal);
+ // 기술영업 RFQ 재발송 핸들러 등록 (결재 승인 후 실행될 함수 resendTechSalesRfqWithDrmInternal)
+ registerActionHandler('tech_sales_rfq_resend_with_drm', resendTechSalesRfqWithDrmInternal);
+
+ // 8. 입찰초대 핸들러
+ const { requestBiddingInvitationInternal } = await import('@/lib/bidding/handlers');
+ // 입찰초대 핸들러 등록 (결재 승인 후 실행될 함수 requestBiddingInvitationInternal)
+ registerActionHandler('bidding_invitation', requestBiddingInvitationInternal);
+
// ... 추가 핸들러 등록
console.log('[Approval Handlers] All handlers registered successfully');