fix(proc-payments): 상태값 한글화 — RECEIVED/PARTIAL 등 영문 노출 제거
Deploy momo-erp / deploy (push) Successful in 1m58s

입금관리 목록 상태가 RECEIVED 등 영문으로 보이던 문제. STATUS_LABEL/COLOR 에
작성중/발주요청/부분입고/입고완료/입금완료/취소 전부 매핑.
This commit is contained in:
chpark
2026-05-27 01:21:10 +09:00
parent 30fb668cbb
commit f55d02a774
@@ -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<string, string> = { REQUESTED: "발주요청", PAID: "입금완료" };
const STATUS_LABEL: Record<string, string> = {
OPEN: "작성중", REQUESTED: "발주요청", PARTIAL: "부분입고", RECEIVED: "입고완료",
PAID: "입금완료", CANCELLED: "취소",
};
const STATUS_COLOR: Record<string, string> = {
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() {