Files
sam-react-prod/src/components/clients/clientConfig.ts

39 lines
869 B
TypeScript
Raw Normal View History

'use client';
import { Building2 } from 'lucide-react';
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
/**
* Config
*/
export const clientCreateConfig: DetailConfig = {
title: '거래처',
description: '거래처 정보를 입력하세요',
icon: Building2,
basePath: '/sales/client-management',
fields: [],
actions: {
showBack: true,
showSave: true,
submitLabel: '등록',
backLabel: '취소',
},
};
/**
* Config
*/
export const clientEditConfig: DetailConfig = {
title: '거래처 수정',
description: '거래처 정보를 수정합니다',
icon: Building2,
basePath: '/sales/client-management',
fields: [],
actions: {
showBack: true,
showSave: true,
submitLabel: '수정',
backLabel: '취소',
},
};