import { Receipt } from 'lucide-react'; import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types'; /** * 매입 상세 페이지 Config * * 참고: 이 config는 타이틀/버튼 영역만 정의 * 폼 내용은 기존 PurchaseDetail의 renderView/renderForm에서 처리 * (품목 테이블, 품의서/지출결의서, 세금계산서 등 특수 기능 유지) */ export const purchaseConfig: DetailConfig = { title: '매입 상세', description: '매입 상세를 등록하고 관리합니다', icon: Receipt, basePath: '/accounting/purchase', fields: [], // renderView/renderForm 사용으로 필드 정의 불필요 gridColumns: 2, actions: { showBack: true, showDelete: true, showEdit: true, backLabel: '목록', deleteLabel: '삭제', editLabel: '수정', submitLabel: '저장', cancelLabel: '취소', deleteConfirmMessage: { title: '매입 삭제', description: '이 매입 내역을 삭제하시겠습니까? 삭제된 데이터는 복구할 수 없습니다.', }, }, };