diff options
| author | joonhoekim <26rote@gmail.com> | 2025-06-24 01:51:59 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-06-24 01:51:59 +0000 |
| commit | 6824e097d768f724cf439b410ccfb1ab9685ac98 (patch) | |
| tree | 1f297313637878e7a4ad6c89b84d5a2c3e9eb650 /lib/techsales-rfq/actions.ts | |
| parent | f4825dd3853188de4688fb4a56c0f4e847da314b (diff) | |
| parent | 4e63d8427d26d0d1b366ddc53650e15f3481fc75 (diff) | |
(merge) 대표님/최겸 작업사항 머지
Diffstat (limited to 'lib/techsales-rfq/actions.ts')
| -rw-r--r-- | lib/techsales-rfq/actions.ts | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/lib/techsales-rfq/actions.ts b/lib/techsales-rfq/actions.ts index 1171271f..5d5d5118 100644 --- a/lib/techsales-rfq/actions.ts +++ b/lib/techsales-rfq/actions.ts @@ -2,12 +2,9 @@ import { revalidatePath } from "next/cache" import { - acceptTechSalesVendorQuotation, - rejectTechSalesVendorQuotation + acceptTechSalesVendorQuotation } from "./service" -// ... existing code ... - /** * 기술영업 벤더 견적 승인 (벤더 선택) Server Action */ @@ -32,28 +29,3 @@ export async function acceptTechSalesVendorQuotationAction(quotationId: number) } } } - -// /** -// * 기술영업 벤더 견적 거절 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") - -// 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 |
