import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
import { Link, Head } from '@inertiajs/react';
import { cn } from "@/lib/utils";
import {
Package,
Users,
ShoppingCart,
Warehouse as WarehouseIcon,
AlertTriangle,
Clock,
TrendingUp,
ChevronRight
} from 'lucide-react';
interface Stats {
productsCount: number;
vendorsCount: number;
purchaseOrdersCount: number;
warehousesCount: number;
totalInventoryValue: number;
pendingOrdersCount: number;
lowStockCount: number;
}
interface Props {
stats: Stats;
}
export default function Dashboard({ stats }: Props) {
const cardData = [
{
label: '商品總數',
value: stats.productsCount,
icon:
歡迎回來,這是您的甜點店 ERP 營運數據概況。
{card.description}
{alert.label}
需立即查看
目前系統運行正常。如有任何問題,請聯絡開發團隊獲取支援。
查看並編輯所有商品資料與單位換算。
處理進貨、追蹤採購進度與管理單據。
管理供應商聯絡資訊與供貨清單。
管理入庫、庫存水位與基礎設施。