diff --git a/src/app/(main)/m/admin/proc-payments/page.tsx b/src/app/(main)/m/admin/proc-payments/page.tsx index 2644244..33568ee 100644 --- a/src/app/(main)/m/admin/proc-payments/page.tsx +++ b/src/app/(main)/m/admin/proc-payments/page.tsx @@ -23,10 +23,17 @@ interface Proc { interface Vendor { OBJID: string; VENDOR_NAME: string } const fmt = (n: number | string | null | undefined) => Number(n || 0).toLocaleString("ko-KR"); -const STATUS_LABEL: Record = { REQUESTED: "발주요청", PAID: "입금완료" }; +const STATUS_LABEL: Record = { + OPEN: "작성중", REQUESTED: "발주요청", PARTIAL: "부분입고", RECEIVED: "입고완료", + PAID: "입금완료", CANCELLED: "취소", +}; const STATUS_COLOR: Record = { + OPEN: "bg-slate-100 text-slate-600", REQUESTED: "bg-amber-100 text-amber-700", + PARTIAL: "bg-sky-100 text-sky-700", + RECEIVED: "bg-blue-100 text-blue-700", PAID: "bg-emerald-100 text-emerald-700", + CANCELLED: "bg-rose-100 text-rose-600", }; function defaultRange() {