diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-15 04:40:22 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-15 04:40:22 +0000 |
| commit | c5002d77087b256599b174ada611621657fcc523 (patch) | |
| tree | 515aab399709755cf3d57d9927e2d81467dea700 /lib/techsales-rfq/actions.ts | |
| parent | 9f3b8915ab20f177edafd3c4a4cc1ca0da0fc766 (diff) | |
(최겸) 기술영업 조선,해양RFQ 수정
Diffstat (limited to 'lib/techsales-rfq/actions.ts')
| -rw-r--r-- | lib/techsales-rfq/actions.ts | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/techsales-rfq/actions.ts b/lib/techsales-rfq/actions.ts index 9bcb20e5..1171271f 100644 --- a/lib/techsales-rfq/actions.ts +++ b/lib/techsales-rfq/actions.ts @@ -33,27 +33,27 @@ export async function acceptTechSalesVendorQuotationAction(quotationId: number) } } -/** - * 기술영업 벤더 견적 거절 Server Action - */ -export async function rejectTechSalesVendorQuotationAction(quotationId: number, rejectionReason?: string) { - try { - const result = await rejectTechSalesVendorQuotation(quotationId, rejectionReason) +// /** +// * 기술영업 벤더 견적 거절 Server Action +// */ +// export async function rejectTechSalesVendorQuotationAction(quotationId: number, rejectionReason?: string) { +// try { +// const result = await rejectTechSalesVendorQuotation(quotationId, rejectionReason) - if (result.success) { - // 관련 페이지들 재검증 - revalidatePath("/evcp/budgetary-tech-sales-ship") - revalidatePath("/partners/techsales") +// if (result.success) { +// // 관련 페이지들 재검증 +// revalidatePath("/evcp/budgetary-tech-sales-ship") +// revalidatePath("/partners/techsales") - return { success: true, message: "견적이 성공적으로 거절되었습니다" } - } else { - return { success: false, error: result.error } - } - } catch (error) { - console.error("견적 거절 액션 오류:", error) - return { - success: false, - error: error instanceof Error ? error.message : "견적 거절에 실패했습니다" - } - } -}
\ No newline at end of file +// return { success: true, message: "견적이 성공적으로 거절되었습니다" } +// } else { +// return { success: false, error: result.error } +// } +// } catch (error) { +// console.error("견적 거절 액션 오류:", error) +// return { +// success: false, +// error: error instanceof Error ? error.message : "견적 거절에 실패했습니다" +// } +// } +// }
\ No newline at end of file |
