feat(accounting): 實作公共事業費管理與會計支出報表功能
This commit is contained in:
@@ -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: "系統管理",
|
||||
|
||||
Reference in New Issue
Block a user