39 lines
876 B
TypeScript
39 lines
876 B
TypeScript
|
|
'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: '취소',
|
||
|
|
},
|
||
|
|
};
|