feat: 實作操作紀錄與商品分類單位異動紀錄 (Operation Logs for System, Products, Categories, Units)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 58s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-16 17:36:37 +08:00
parent 19c2eeba7b
commit 0d7bb2758d
21 changed files with 904 additions and 8 deletions

View File

@@ -16,7 +16,8 @@ import {
ChevronDown,
Settings,
Shield,
Users
Users,
FileText
} from "lucide-react";
import { toast, Toaster } from "sonner";
import { useState, useEffect, useMemo } from "react";
@@ -145,6 +146,13 @@ export default function AuthenticatedLayout({
route: "/admin/roles",
permission: "roles.view",
},
{
id: "activity-log",
label: "操作紀錄",
icon: <FileText className="h-4 w-4" />,
route: "/admin/activity-logs",
permission: "system.view_logs",
},
],
},
];