seahaven-ap/src/layout/nav.ts

32 lines
997 B
TypeScript

import type { Path } from "@/router";
export type NavModule = {
label: string;
to: Path;
testId: string;
badge?: string;
secondaryBadge?: string;
};
export const navModules: NavModule[] = [
{ label: "Procurement", to: "/procurement", testId: "nav-procurement" },
{
label: "Invoice Processing",
to: "/",
testId: "nav-invoice-processing",
badge: "99+",
secondaryBadge: "6",
},
{
label: "Payment Processing",
to: "/payments",
testId: "nav-payment-processing",
badge: "99+",
},
{ label: "Approvals", to: "/approvals", testId: "nav-approvals" },
{ label: "Vendor Management", to: "/settings/vendors", testId: "nav-vendors" },
{ label: "Recurring Invoices", to: "/recurring", testId: "nav-recurring" },
{ label: "My Past Invoices", to: "/past-invoices", testId: "nav-past-invoices" },
{ label: "Dashboards & Reports", to: "/reports", testId: "nav-reports" },
{ label: "System Settings", to: "/settings", testId: "nav-settings" },
];