Commit inicial - Sistema de Gestion Hotelera Hacienda San Angel
- Backend Node.js/Express con PostgreSQL - Frontend React 19 con Vite - Docker Compose para orquestacion - Documentacion completa en README.md - Scripts SQL para base de datos - Configuracion de ejemplo (.env.example)
This commit is contained in:
90
frontend/Frontend-Hotel/src/constants/menuconfig.js
Normal file
90
frontend/Frontend-Hotel/src/constants/menuconfig.js
Normal file
@@ -0,0 +1,90 @@
|
||||
// src/constants/menuConfig.js
|
||||
|
||||
export const menuConfig = {
|
||||
dashboards: {
|
||||
label: "Dashboards",
|
||||
spanish_label: "Tableros",
|
||||
basePath: "/app/income",
|
||||
submenu: [
|
||||
{ label: "Little Hotelier", spanish_label: "Little Hotelier", route: "/app/income" },
|
||||
{ label: "Hotel P&L", spanish_label: "P&L Hotel", route: "/app/hotelpl" },
|
||||
{ label: "Room Analysis", spanish_label: "Análisis de Habitaciones", route: "/app/room-analysis" },
|
||||
{ label: "P&L Restaurant", spanish_label: "P&L Restaurante", route: "/app/restaurantpl" },
|
||||
{ label: "Restaurant Analysis", spanish_label: "Análisis de Restaurante", route: "/app/restaurant-analysis" },
|
||||
// { label: "Budget", spanish_label: "Presupuesto", route: "/app/budget" },
|
||||
// { label: "Expenses", spanish_label: "Gastos", route: "/app/expenses" },
|
||||
],
|
||||
},
|
||||
housekeeper: {
|
||||
label: "Housekeeper",
|
||||
spanish_label: "Cuidador de Habitaciones",
|
||||
basePath: "/app/housekeeper/outcomes",
|
||||
submenu: [],
|
||||
},
|
||||
income: {
|
||||
label: "Income",
|
||||
spanish_label: "Ingresos",
|
||||
basePath: "/app/new-income-report",
|
||||
submenu: [
|
||||
{ label: "Report", spanish_label: "Reporte", route: "/app/new-income-report" },
|
||||
{ label: "New Income", spanish_label: "Nuevo Ingreso", route: "/app/new-income-form" },
|
||||
],
|
||||
},
|
||||
expensesToApprove: {
|
||||
label: "Expenses to be approved",
|
||||
spanish_label: "Gastos por aprobar",
|
||||
basePath: "/app/pending-approval",
|
||||
submenu: [
|
||||
{ label: "Pending approval", spanish_label: "Pendientes de aprobación", route: "/app/pending-approval" },
|
||||
{ label: "Approved", spanish_label: "Aprobados", route: "/app/approved" },
|
||||
{ label: "Rejected", spanish_label: "Rechazados", route: "/app/rejected" },
|
||||
],
|
||||
},
|
||||
expenses: {
|
||||
label: "Expenses",
|
||||
spanish_label: "Gastos",
|
||||
basePath: "/app/report-expense",
|
||||
submenu: [
|
||||
{ label: "Report", spanish_label: "Reporte", route: "/app/report-expense" },
|
||||
{ label: "New Expense", spanish_label: "Nuevo Gasto", route: "/app/new-expense" },
|
||||
{ label: "Payments", spanish_label: "Pagos", route: "/app/payments" },
|
||||
{ label: "Monthly Report", spanish_label: "Reporte Mensual", route: "/app/monthly-report" },
|
||||
{ label: "Monthly Payments", spanish_label: "Pagos Mensuales", route: "/app/monthly-payments" },
|
||||
{ label: "New Monthly Payments", spanish_label: "Nuevos Pagos Mensuales", route: "/app/new-monthly", hidden: true },
|
||||
{ label: "Purchase Entries", spanish_label: "Entradas de Compra", route: "/app/purchase-entries" },
|
||||
{ label: "New Suppliers", spanish_label: "Nuevos Proveedores", route: "/app/new-suppliers" },
|
||||
],
|
||||
},
|
||||
inventory: {
|
||||
label: "Inventory",
|
||||
spanish_label: "Inventario",
|
||||
basePath: "/app/products",
|
||||
submenu: [
|
||||
{ label: "Products", spanish_label: "Productos", route: "/app/products" },
|
||||
{ label: "New Product", spanish_label: "Nuevo Producto", route: "/app/new-product" },
|
||||
{ label: "Report", spanish_label: "Reporte", route: "/app/inventory-report" },
|
||||
{ label: "Discard Product", spanish_label: "Descartar Producto", route: "/app/discard-product" },
|
||||
{ label: "Adjustments", spanish_label: "Ajustes", route: "/app/product-adjustments" },
|
||||
{ label: "Outcomes", spanish_label: "Salidas", route: "/app/inventory/outcomes" }
|
||||
],
|
||||
},
|
||||
payroll: {
|
||||
label: "Payroll",
|
||||
spanish_label: "Nómina",
|
||||
basePath: "/app/payroll",
|
||||
submenu: [
|
||||
{ label: "Report", spanish_label: "Reporte", route: "/app/payroll" },
|
||||
{ label: "New Contract", spanish_label: "Nuevo Contrato", route: "/app/payroll/newcontract" },
|
||||
{ label: "Attendance", spanish_label: "Asistencia", route: "/app/payroll/attendance" },
|
||||
{ label: "Employees", spanish_label: "Empleados", route: "/app/payroll/employees" },
|
||||
{ label: "New Employee", spanish_label: "Nuevo Empleado", route: "/app/payroll/newemployee" },
|
||||
{ label: "Contracts", spanish_label: "Contratos", route: "/app/payroll/contract" }
|
||||
],
|
||||
},
|
||||
// hotel: {
|
||||
// label: "Hotel",
|
||||
// spanish_label: "Hotel",
|
||||
// basePath: "/app/hotel",
|
||||
// submenu: [],
|
||||
// },
|
||||
};
|
||||
Reference in New Issue
Block a user