Files
sam-react-prod/src/components/orders/orderConfig.ts
권혁성 cea7900c5e fix(WEB): 수주 등록/수정 저장 후 잘못된 경로로 이동하는 문제 수정
- orderConfig.ts basePath를 /sales/order-management → /sales/order-management-sales로 수정
2026-01-30 14:24:51 +09:00

39 lines
882 B
TypeScript

'use client';
import { FileText } from 'lucide-react';
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';
/**
* 수주 등록 페이지 Config
*/
export const orderCreateConfig: DetailConfig = {
title: '수주',
description: '견적을 수주로 전환하거나 새 수주를 등록합니다',
icon: FileText,
basePath: '/sales/order-management-sales',
fields: [],
actions: {
showBack: true,
showSave: true,
submitLabel: '저장',
backLabel: '취소',
},
};
/**
* 수주 수정 페이지 Config
*/
export const orderEditConfig: DetailConfig = {
title: '수주',
description: '수주 정보를 수정합니다',
icon: FileText,
basePath: '/sales/order-management-sales',
fields: [],
actions: {
showBack: true,
showSave: true,
submitLabel: '저장',
backLabel: '취소',
},
};