summaryrefslogtreecommitdiff
path: root/lib/approval/handlers-registry.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-12-05 09:18:28 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-12-05 09:18:28 +0000
commite467b3b7905a200b98daa3787565c08a309a6dda (patch)
tree9ab8d1e7cd2bda128d7acb75fdb7811a9ef1cee9 /lib/approval/handlers-registry.ts
parent5233996e9bd676ce763a12e58c7955c7ca8f26c5 (diff)
(최겸) 계약 승인 요청 시 결재 상신 개발, 입찰 화학물질 soap 개발
Diffstat (limited to 'lib/approval/handlers-registry.ts')
-rw-r--r--lib/approval/handlers-registry.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/approval/handlers-registry.ts b/lib/approval/handlers-registry.ts
index beb6b971..235c9b7b 100644
--- a/lib/approval/handlers-registry.ts
+++ b/lib/approval/handlers-registry.ts
@@ -40,9 +40,10 @@ export async function initializeApprovalHandlers() {
// 벤더 가입 승인 핸들러 등록 (결재 승인 후 실행될 함수 approveVendorWithMDGInternal)
registerActionHandler('vendor_approval', approveVendorWithMDGInternal);
- // 5. 계약 승인 핸들러
- // const { approveContractInternal } = await import('@/lib/contract/handlers');
- // registerActionHandler('contract_approval', approveContractInternal);
+ // 5. 일반계약 승인 핸들러
+ const { approveContractInternal } = await import('@/lib/general-contracts/handlers');
+ // 일반계약 승인 핸들러 등록 (결재 승인 후 실행될 함수 approveContractInternal)
+ registerActionHandler('general_contract_approval', approveContractInternal);
// 6. RFQ 발송 핸들러 (첨부파일이 있는 경우)
const { sendRfqWithApprovalInternal } = await import('@/lib/rfq-last/approval-handlers');