feat(accounting): 實作公共事業費管理與會計支出報表功能
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 56s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-20 09:44:05 +08:00
parent 8928a84ff9
commit 32c2612a5f
10 changed files with 1203 additions and 3 deletions

View File

@@ -17,7 +17,10 @@ import {
Settings,
Shield,
Users,
FileText
FileText,
Wallet,
BarChart3,
FileSpreadsheet
} from "lucide-react";
import { toast, Toaster } from "sonner";
import { useState, useEffect, useMemo } from "react";
@@ -126,6 +129,36 @@ export default function AuthenticatedLayout({
},
],
},
{
id: "finance-management",
label: "財務管理",
icon: <Wallet className="h-5 w-5" />,
permission: "utility_fees.view",
children: [
{
id: "utility-fee-list",
label: "公共事業費",
icon: <FileText className="h-4 w-4" />,
route: "/utility-fees",
permission: "utility_fees.view",
},
],
},
{
id: "report-management",
label: "報表管理",
icon: <BarChart3 className="h-5 w-5" />,
permission: "accounting.view",
children: [
{
id: "accounting-report",
label: "會計報表",
icon: <FileSpreadsheet className="h-4 w-4" />,
route: "/accounting/report",
permission: "accounting.view",
},
],
},
{
id: "system-management",
label: "系統管理",