import AuthenticatedLayout from "@/Layouts/AuthenticatedLayout"; import { Head, Link } from "@inertiajs/react"; import { Package, ArrowLeft } from "lucide-react"; import { Button } from "@/Components/ui/button"; import ProductForm from "@/Components/Product/ProductForm"; import { getCreateBreadcrumbs } from "@/utils/breadcrumb"; import type { Category } from "./Index"; import type { Unit } from "@/Components/Unit/UnitManagerDialog"; interface Props { categories: Category[]; units: Unit[]; } export default function Create({ categories, units }: Props) { return (
{/* Header */}

新增商品

建立新的商品資料,包含基本資訊、價格與單位設定。

{/* 表單內容 */}
); }