diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-09 06:25:43 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-09 06:25:43 +0000 |
| commit | bcc7603a7aea83341728557445fb4bc78129cca2 (patch) | |
| tree | 85dd97e53508caaed3c10a9ef94291156668e5ed | |
| parent | ccca806e803baf87bbc97cb2c49b0065673b7a6b (diff) | |
(최겸) 구매 결제 조건 -> 지급 조건 용어 변경
| -rw-r--r-- | app/[lng]/procurement/(procurement)/faq/page.tsx | 2 | ||||
| -rw-r--r-- | app/[lng]/procurement/(procurement)/pq/page.tsx | 6 | ||||
| -rw-r--r-- | db/schema/contract.ts | 2 | ||||
| -rw-r--r-- | db/schema/rfq.ts | 2 | ||||
| -rw-r--r-- | lib/cbe/table/invite-vendors-dialog.tsx | 6 | ||||
| -rw-r--r-- | lib/mail/templates/cbe-invitation.hbs | 2 | ||||
| -rw-r--r-- | lib/payment-terms/table/delete-payment-terms-dialog.tsx | 12 | ||||
| -rw-r--r-- | lib/payment-terms/table/payment-terms-add-dialog.tsx | 16 | ||||
| -rw-r--r-- | 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) { <div className="space-y-6 p-10 pb-16">
<div className="flex justify-between items-center">
<div className="space-y-0.5">
- <h2 className="text-2xl font-bold tracking-tight">자주 묻는 질문</h2>
+ <h2 className="text-2xl font-bold tracking-tight">FAQ</h2>
{/* <p className="text-muted-foreground">
Find answers to common questions about using the EVCP system.
</p> */}
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) { <div className="flex items-center justify-between space-y-2"> <div> <h2 className="text-2xl font-bold tracking-tight"> - Pre-Qualification Review + PQ 관리 </h2> - <p className="text-muted-foreground"> + {/* <p className="text-muted-foreground"> 벤더가 제출한 PQ를 확인하고 수정 요청 등을 할 수 있으며 PQ 종료 후에는 통과 여부를 결정할 수 있습니다. - </p> + </p> */} </div> </div> </div> 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({ </div> )} - {/* 결제 조건 - 필수 필드 */} + {/* 지급 조건 - 필수 필드 */} <FormField control={form.control} name="paymentTerms" render={({ field }) => ( <FormItem> <FormLabel> - 결제 조건{RequiredLabel} + 지급 조건{RequiredLabel} </FormLabel> <FormControl> <Input {...field} placeholder="예: Net 30" /> 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 @@ <h3 style="font-size:20px; color:#163CC4; margin-top:0; margin-bottom:12px;">CBE 평가 세부사항</h3>
<div class="info-item"><span class="label">협력업체:</span> {{vendorName}} ({{vendorCode}})</div>
{{#if paymentTerms}}
- <div class="info-item"><span class="label">결제 조건:</span> {{paymentTerms}}</div>
+ <div class="info-item"><span class="label">지급 조건:</span> {{paymentTerms}}</div>
{{/if}}
{{#if incoterms}}
<div class="info-item"><span class="label">Incoterms:</span> {{incoterms}}</div>
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({ <DialogDescription> 이 작업은 되돌릴 수 없습니다. 선택된{" "} <span className="font-medium">{paymentTerms.length}</span> - 개의 결제 조건을 서버에서 영구적으로 삭제합니다. + 개의 지급 조건을 서버에서 영구적으로 삭제합니다. </DialogDescription> </DialogHeader> <DialogFooter className="gap-2 sm:space-x-0"> @@ -129,7 +129,7 @@ export function DeletePaymentTermsDialog({ <DrawerDescription> 이 작업은 되돌릴 수 없습니다. 선택된{" "} <span className="font-medium">{paymentTerms.length}</span> - 개의 결제 조건을 서버에서 영구적으로 삭제합니다. + 개의 지급 조건을 서버에서 영구적으로 삭제합니다. </DrawerDescription> </DrawerHeader> <DrawerFooter className="gap-2 sm:space-x-0"> 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) <DialogTrigger asChild> <Button variant="outline" size="sm"> <Plus className="mr-2 h-4 w-4" /> - 결제 조건 추가 + 지급 조건 추가 </Button> </DialogTrigger> <DialogContent className="max-w-md"> <DialogHeader> - <DialogTitle>새 결제 조건 추가</DialogTitle> + <DialogTitle>새 지급 조건 추가</DialogTitle> <DialogDescription> - 새로운 결제 조건을 추가합니다. 필수 정보를 입력해주세요. + 새로운 지급 조건을 추가합니다. 필수 정보를 입력해주세요. <span className="text-red-500 mt-1 block text-sm">* 표시된 항목은 필수 입력사항입니다.</span> </DialogDescription> </DialogHeader> @@ -115,7 +115,7 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) 코드 <span className="text-red-500">*</span> </FormLabel> <FormControl> - <Input placeholder="결제 조건 코드" {...field} /> + <Input placeholder="지급 조건 코드" {...field} /> </FormControl> <FormMessage /> </FormItem> @@ -131,7 +131,7 @@ export function PaymentTermsAddDialog({ onSuccess }: PaymentTermsAddDialogProps) 설명 <span className="text-red-500">*</span> </FormLabel> <FormControl> - <Input placeholder="결제 조건 설명" {...field} /> + <Input placeholder="지급 조건 설명" {...field} /> </FormControl> <FormMessage /> </FormItem> 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({ <Sheet open={open} onOpenChange={onOpenChange}> <SheetContent className="flex flex-col gap-6 sm:max-w-md"> <SheetHeader className="text-left"> - <SheetTitle>결제 조건 수정</SheetTitle> + <SheetTitle>지급 조건 수정</SheetTitle> <SheetDescription> - 결제 조건 정보를 수정하고 변경사항을 저장하세요 + 지급 조건 정보를 수정하고 변경사항을 저장하세요 </SheetDescription> </SheetHeader> <Form {...form}> |
