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 /lib | |
| parent | ccca806e803baf87bbc97cb2c49b0065673b7a6b (diff) | |
(최겸) 구매 결제 조건 -> 지급 조건 용어 변경
Diffstat (limited to 'lib')
| -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 |
5 files changed, 22 insertions, 22 deletions
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}> |
