From bcc7603a7aea83341728557445fb4bc78129cca2 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 9 Jul 2025 06:25:43 +0000 Subject: (최겸) 구매 결제 조건 -> 지급 조건 용어 변경 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[lng]/procurement/(procurement)/faq/page.tsx | 2 +- app/[lng]/procurement/(procurement)/pq/page.tsx | 6 +++--- db/schema/contract.ts | 2 +- db/schema/rfq.ts | 2 +- lib/cbe/table/invite-vendors-dialog.tsx | 6 +++--- lib/mail/templates/cbe-invitation.hbs | 2 +- lib/payment-terms/table/delete-payment-terms-dialog.tsx | 12 ++++++------ lib/payment-terms/table/payment-terms-add-dialog.tsx | 16 ++++++++-------- lib/payment-terms/table/payment-terms-edit-sheet.tsx | 8 ++++---- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/app/[lng]/procurement/(procurement)/faq/page.tsx b/app/[lng]/procurement/(procurement)/faq/page.tsx index 56a4ee86..00956591 100644 --- a/app/[lng]/procurement/(procurement)/faq/page.tsx +++ b/app/[lng]/procurement/(procurement)/faq/page.tsx @@ -24,7 +24,7 @@ export default async function FaqPage(props: Props) {
-

자주 묻는 질문

+

FAQ

{/*

Find answers to common questions about using the EVCP system.

*/} diff --git a/app/[lng]/procurement/(procurement)/pq/page.tsx b/app/[lng]/procurement/(procurement)/pq/page.tsx index 46b22b12..0274dc9f 100644 --- a/app/[lng]/procurement/(procurement)/pq/page.tsx +++ b/app/[lng]/procurement/(procurement)/pq/page.tsx @@ -34,12 +34,12 @@ export default async function IndexPage(props: IndexPageProps) {

- Pre-Qualification Review + PQ 관리

-

+ {/*

벤더가 제출한 PQ를 확인하고 수정 요청 등을 할 수 있으며 PQ 종료 후에는 통과 여부를 결정할 수 있습니다. -

+

*/}
diff --git a/db/schema/contract.ts b/db/schema/contract.ts index 226fecfa..f56fc36e 100644 --- a/db/schema/contract.ts +++ b/db/schema/contract.ts @@ -40,7 +40,7 @@ export const contracts = pgTable("contracts", { endDate: date("end_date"), // 계약 종료일/유효 기간 등 // --- PO에 자주 쓰이는 필드 추가 --- - paymentTerms: text("payment_terms"), // 결제 조건(예: 30일 후 현금, 선금/잔금 등) + paymentTerms: text("payment_terms"), // 지급 조건(예: 30일 후 현금, 선금/잔금 등) deliveryTerms: text("delivery_terms"), // 납품 조건(Incoterms 등) deliveryDate: date("delivery_date"), // 납품 기한(납기 예정일) deliveryLocation: varchar("delivery_location", { length: 255 }), // 납품 장소 diff --git a/db/schema/rfq.ts b/db/schema/rfq.ts index 4e35dd10..66357972 100644 --- a/db/schema/rfq.ts +++ b/db/schema/rfq.ts @@ -294,7 +294,7 @@ export const cbeEvaluations = pgTable("cbe_evaluations", { // 통화 currency: varchar("currency", { length: 10 }).default("USD"), - // 결제 조건, 인도 조건, 기타 상업 조건 + // 지급 조건, 인도 조건, 기타 상업 조건 paymentTerms: varchar("payment_terms", { length: 255 }), incoterms: varchar("incoterms", { length: 50 }), deliverySchedule: text("delivery_schedule"), // 정해진 형식이 있다면 varchar, 아니면 text diff --git a/lib/cbe/table/invite-vendors-dialog.tsx b/lib/cbe/table/invite-vendors-dialog.tsx index 6ebc087b..38edddc1 100644 --- a/lib/cbe/table/invite-vendors-dialog.tsx +++ b/lib/cbe/table/invite-vendors-dialog.tsx @@ -50,7 +50,7 @@ import { createCbeEvaluation } from "@/lib/rfqs/service" // 컴포넌트 내부에서 사용할 폼 스키마 정의 const formSchema = z.object({ - paymentTerms: z.string().min(1, "결제 조건을 입력하세요"), + paymentTerms: z.string().min(1, "지급 조건을 입력하세요"), incoterms: z.string().min(1, "Incoterms를 입력하세요"), deliverySchedule: z.string().min(1, "배송 일정을 입력하세요"), notes: z.string().optional(), @@ -235,14 +235,14 @@ export function InviteVendorsDialog({
)} - {/* 결제 조건 - 필수 필드 */} + {/* 지급 조건 - 필수 필드 */} ( - 결제 조건{RequiredLabel} + 지급 조건{RequiredLabel} diff --git a/lib/mail/templates/cbe-invitation.hbs b/lib/mail/templates/cbe-invitation.hbs index 64875983..c9a721f7 100644 --- a/lib/mail/templates/cbe-invitation.hbs +++ b/lib/mail/templates/cbe-invitation.hbs @@ -65,7 +65,7 @@

CBE 평가 세부사항

협력업체: {{vendorName}} ({{vendorCode}})
{{#if paymentTerms}} -
결제 조건: {{paymentTerms}}
+
지급 조건: {{paymentTerms}}
{{/if}} {{#if incoterms}}
Incoterms: {{incoterms}}
diff --git a/lib/payment-terms/table/delete-payment-terms-dialog.tsx b/lib/payment-terms/table/delete-payment-terms-dialog.tsx index 3e955fce..4c35dd36 100644 --- a/lib/payment-terms/table/delete-payment-terms-dialog.tsx +++ b/lib/payment-terms/table/delete-payment-terms-dialog.tsx @@ -50,21 +50,21 @@ export function DeletePaymentTermsDialog({ function onDelete() { startDeleteTransition(async () => { try { - // 각 결제 조건을 순차적으로 삭제 + // 각 지급 조건을 순차적으로 삭제 for (const paymentTerm of paymentTerms) { const result = await deletePaymentTerm(paymentTerm.code) if (!result.success) { - toast.error(`결제 조건 ${paymentTerm.code} 삭제 실패: ${result.error}`) + toast.error(`지급 조건 ${paymentTerm.code} 삭제 실패: ${result.error}`) return } } props.onOpenChange?.(false) - toast.success("결제 조건이 성공적으로 삭제되었습니다.") + toast.success("지급 조건이 성공적으로 삭제되었습니다.") onSuccess?.() } catch (error) { console.error("Delete error:", error) - toast.error("결제 조건 삭제 중 오류가 발생했습니다.") + toast.error("지급 조건 삭제 중 오류가 발생했습니다.") } }) } @@ -86,7 +86,7 @@ export function DeletePaymentTermsDialog({ 이 작업은 되돌릴 수 없습니다. 선택된{" "} {paymentTerms.length} - 개의 결제 조건을 서버에서 영구적으로 삭제합니다. + 개의 지급 조건을 서버에서 영구적으로 삭제합니다. @@ -129,7 +129,7 @@ export function DeletePaymentTermsDialog({ 이 작업은 되돌릴 수 없습니다. 선택된{" "} {paymentTerms.length} - 개의 결제 조건을 서버에서 영구적으로 삭제합니다. + 개의 지급 조건을 서버에서 영구적으로 삭제합니다. diff --git a/lib/payment-terms/table/payment-terms-add-dialog.tsx b/lib/payment-terms/table/payment-terms-add-dialog.tsx index 49819f87..bfcd7b4e 100644 --- a/lib/payment-terms/table/payment-terms-add-dialog.tsx +++ b/lib/payment-terms/table/payment-terms-add-dialog.tsx @@ -70,7 +70,7 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) try { const result = await createPaymentTerm(data); if (result.data) { - toast.success("결제 조건이 성공적으로 추가되었습니다."); + toast.success("지급 조건이 성공적으로 추가되었습니다."); form.reset(); setOpen(false); if (onSuccess) { @@ -80,8 +80,8 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) toast.error(result.error || "생성 중 오류가 발생했습니다."); } } catch (error) { - console.error("결제 조건 생성 오류:", error); - toast.error("결제 조건 생성에 실패했습니다."); + console.error("지급 조건 생성 오류:", error); + toast.error("지급 조건 생성에 실패했습니다."); } finally { setIsLoading(false); } @@ -92,14 +92,14 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) - 새 결제 조건 추가 + 새 지급 조건 추가 - 새로운 결제 조건을 추가합니다. 필수 정보를 입력해주세요. + 새로운 지급 조건을 추가합니다. 필수 정보를 입력해주세요. * 표시된 항목은 필수 입력사항입니다. @@ -115,7 +115,7 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) 코드 * - +
@@ -131,7 +131,7 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) 설명 * - + diff --git a/lib/payment-terms/table/payment-terms-edit-sheet.tsx b/lib/payment-terms/table/payment-terms-edit-sheet.tsx index 48d79c21..59cc4939 100644 --- a/lib/payment-terms/table/payment-terms-edit-sheet.tsx +++ b/lib/payment-terms/table/payment-terms-edit-sheet.tsx @@ -79,12 +79,12 @@ export function PaymentTermsEditSheet({ startUpdateTransition(async () => { try { await updatePaymentTerm(data.code, input) - toast.success("결제 조건이 성공적으로 수정되었습니다.") + toast.success("지급 조건이 성공적으로 수정되었습니다.") onSuccess() onOpenChange(false) } catch (error) { console.error("Update error:", error) - toast.error("결제 조건 수정 중 오류가 발생했습니다.") + toast.error("지급 조건 수정 중 오류가 발생했습니다.") } }) } @@ -93,9 +93,9 @@ export function PaymentTermsEditSheet({ - 결제 조건 수정 + 지급 조건 수정 - 결제 조건 정보를 수정하고 변경사항을 저장하세요 + 지급 조건 정보를 수정하고 변경사항을 저장하세요
-- cgit v1.2.3