'use client';

/**
 * 출고증 문서 컴포넌트
 * - 수주서 레이아웃 기반, 제목만 "출 고 증"으로 변경
 */

import type { ShipmentDetail } from '../types';
import { ShipmentOrderDocument, type OrderDocumentDetail } from './ShipmentOrderDocument';

interface ShippingSlipProps {
  data: ShipmentDetail;
  orderDetail?: OrderDocumentDetail | null;
}

export function ShippingSlip({ data, orderDetail }: ShippingSlipProps) {
  return <ShipmentOrderDocument title="출 고 증" data={data} orderDetail={orderDetail} showDispatchInfo showLotColumn />;
}