// src/constants/menuConfig.js

export const menuConfig = {
  dashboards: {
    label: "Dashboards",
    basePath: "/app/income",
    submenu: [
      { label: "Income", route: "/app/income" },
      { label: "Hotel P&L", route: "/app/hotelpl" },
      { label: "P&L Restaurant", route: "/app/restaurantpl" },
      { label: "Room Analysis", route: "/app/cost-per-room" },
      { label: "Budget", route: "/app/budget" },
      { label: "Expenses", route: "/app/expenses" },
    ],
  },
  income: {
    label: "Income",
    basePath: "/app/new-income-report",
    submenu: [
      { label: "Report", route: "/app/new-income-report" },
      { label: "New Income", route: "/app/new-income-form" },
    ],
  },
  expensesToApprove: {
    label: "Expenses to be approved",
    basePath: "/app/pending-approval",
    submenu: [
      { label: "Pending approval", route: "/app/pending-approval" },
      { label: "Approved", route: "/app/approved" },
      { label: "Rejected", route: "/app/rejected" },
    ],
  },
  expenses: {
    label: "Expenses",
    basePath: "/app/report-expense",
    submenu: [],
  },
  inventory: {
    label: "Inventory",
    basePath: "/app/products",
    submenu: [
      { label: "Products", route: "/app/products" },
      { label: "New Product", route: "/app/new-product" },
      { label: "Report", route: "/app/inventory-report" },
      { label: "Discard Product", route: "/app/discard-product" },
      { label: "Adjustments", route: "/app/product-adjustments" },
      { label: "Outcomes", route: "/app/inventory/outcomes" }
    ],
  },
  payroll: {
    label: "Payroll",
    basePath: "/app/payroll",
    submenu: [
      { label: "Report", route: "/app/payroll" },
      { label: "Attendance", route: "/app/payroll/attendance" },
      { label: "Employees", route: "/app/payroll/employees" },
      { label: "New Employee", route: "/app/payroll/newemployee" },
      { label: "Contracts", route: "/app/payroll/contract" }
    ],
  },
  hotel: {
    label: "Hotel",
    basePath: "/app/hotel",
    submenu: [],
  },
};
