import { FileText } from 'lucide-react'; import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types'; /** * 계약관리 상세 페이지 Config * * 참고: 이 config는 타이틀/버튼 영역만 정의 * 폼 내용은 기존 ContractDetailForm의 renderView/renderForm에서 처리 * (파일 업로드, 전자결재 모달, 계약서 보기 모달 등 특수 기능 유지) * * 모드별 타이틀: * - create: '계약 등록' 또는 '변경 계약서 생성' * - view/edit: '계약 상세' */ export const contractConfig: DetailConfig = { title: '계약 상세', description: '계약 정보를 관리합니다', icon: FileText, basePath: '/construction/project/contract', fields: [], // renderView/renderForm 사용으로 필드 정의 불필요 gridColumns: 2, actions: { showBack: true, showDelete: true, showEdit: true, backLabel: '목록', deleteLabel: '삭제', editLabel: '수정', submitLabel: '저장', cancelLabel: '취소', deleteConfirmMessage: { title: '계약 삭제', description: '이 계약을 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.', }, }, };