Files
sam-react-prod/src/components/accounting/PurchaseManagement/purchaseConfig.ts

33 lines
1.1 KiB
TypeScript
Raw Normal View History

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: '이 매입 내역을 삭제하시겠습니까? 삭제된 데이터는 복구할 수 없습니다.',
},
},
};