'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: '취소',
  },
};
