diff options
Diffstat (limited to 'lib/approval/handlers-registry.ts')
| -rw-r--r-- | lib/approval/handlers-registry.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/approval/handlers-registry.ts b/lib/approval/handlers-registry.ts index 1db79974..6306f811 100644 --- a/lib/approval/handlers-registry.ts +++ b/lib/approval/handlers-registry.ts @@ -1,5 +1,5 @@ /** - * 결재 액션 핸들러 중앙 등록소 + * 결재 후 실행될 액션 핸들러 중앙 등록소 * * 모든 결재 가능한 액션의 핸들러를 한 곳에서 등록 * instrumentation.ts 또는 Next.js middleware에서 import하여 초기화 @@ -20,10 +20,10 @@ export async function initializeApprovalHandlers() { reRequestPQInvestigationInternal } = await import('@/lib/vendor-investigation/handlers'); - // PQ 실사의뢰 핸들러 등록 + // PQ 실사의뢰 핸들러 등록 (결재 승인 후 실행될 함수 requestPQInvestigationInternal ) registerActionHandler('pq_investigation_request', requestPQInvestigationInternal); - // PQ 실사 재의뢰 핸들러 등록 + // PQ 실사 재의뢰 핸들러 등록 (결재 승인 후 실행될 함수 reRequestPQInvestigationInternal ) registerActionHandler('pq_investigation_rerequest', reRequestPQInvestigationInternal); // 2. 발주 요청 핸들러 @@ -32,6 +32,7 @@ export async function initializeApprovalHandlers() { // 3. 정규업체 등록 핸들러 const { registerVendorInternal } = await import('@/lib/vendor-regular-registrations/handlers'); + // 정규업체 등록 핸들러 등록 (결재 승인 후 실행될 함수 registerVendorInternal ) registerActionHandler('vendor_regular_registration', registerVendorInternal); // 4. 계약 승인 핸들러 |
