From cd0ce0cbe8af8719a6f542098ec78f2a5c1222ce Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 1 Dec 2025 10:28:05 +0000 Subject: (최겸) 구매 입찰 사전견적 개발(rfq-last) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/general-contract-info-header.tsx | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'lib/general-contracts/detail') diff --git a/lib/general-contracts/detail/general-contract-info-header.tsx b/lib/general-contracts/detail/general-contract-info-header.tsx index c0a79d09..c966685e 100644 --- a/lib/general-contracts/detail/general-contract-info-header.tsx +++ b/lib/general-contracts/detail/general-contract-info-header.tsx @@ -1,5 +1,6 @@ import { Building2, Package, DollarSign, Calendar, FileText } from 'lucide-react' import { formatDate } from '@/lib/utils' +import { GENERAL_CONTRACT_TYPE_LABELS, GeneralContractType } from '@/lib/general-contracts/types' interface GeneralContractInfoHeaderProps { contract: { @@ -45,24 +46,6 @@ const categoryLabels = { '매각계약': '매각계약' } -const typeLabels = { - 'UP': '자재단가계약', - 'LE': '임대차계약', - 'IL': '개별운송계약', - 'AL': '연간운송계약', - 'OS': '외주용역계약', - 'OW': '도급계약', - 'LO': 'LOI', - 'FA': 'FA', - 'SC': '납품합의계약', - 'OF': '클레임상계계약', - 'AW': '사전작업합의', - 'AD': '사전납품합의', - 'SG': '임치(물품보관)계약', - 'SR': '폐기물매각계약', - 'SP': 'S-PEpC' -} - export function GeneralContractInfoHeader({ contract }: GeneralContractInfoHeaderProps) { return (
@@ -137,7 +120,7 @@ export function GeneralContractInfoHeader({ contract }: GeneralContractInfoHeade
계약종류 - {typeLabels[contract.type as keyof typeof typeLabels] || contract.type} + {GENERAL_CONTRACT_TYPE_LABELS[contract.type as GeneralContractType] || contract.type}
-- cgit v1.2.3