Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Henry4ndrew/saborGestion/llms.txt

Use this file to discover all available pages before exploring further.

The administrator dashboard is the command center for the entire SaborGestion system. Users with the admin role have unrestricted access to every module and see a consolidated view of all business activity. Route: GET /dashboard/administrador
Controller: DashboardController@administrador
Named route: dashboard.administrador
Access is restricted to users whose role is admin. Any other authenticated user who navigates to this route receives a 403 Forbidden response.

Metrics overview

The dashboard displays four real-time summary cards at the top of the page:
CardDescription
Ventas TotalesCumulative sales revenue for the current period
Pedidos HoyTotal number of orders placed today
Clientes AtendidosNumber of customers served
Productos AgotadosCount of menu items that have run out of stock
Below the cards, two panels provide detail:
  • Ventas Recientes — a list of the most recent sales transactions
  • Productos Más Vendidos — a ranked list of the best-selling products
The admin role unlocks every section in the sidebar. The sidebar is collapsible (expands to 288 px, collapses to 80 px) and persists its state in localStorage.

Inteligencia de Negocios

Provides access to the dashboard for every role, so the admin can review each operational view:
LinkRoute
Dashboard Admindashboard.administrador
Dashboard Meserodashboard.mesero
Dashboard Cocinerodashboard.cocinero
Dashboard Cajerodashboard.cajero

Catálogo y Menú

LinkRouteMiddleware
Productosproductos.indexrole:admin,cocinero
Inventarioinventario.indexrole:admin,cocinero
The Inventario link displays a red pulsing badge when one or more ingredients have a quantity at or below their stock_minimo threshold. The count is calculated with Inventario::whereRaw('cantidad <= stock_minimo')->count().

Gestión de Mesas

LinkRouteMiddleware
Mesasmesas.indexrole:admin,mesero

Operaciones

Orders, kitchen tickets, delivery, and all billing actions in one section:
LinkRouteMiddleware
Pedidospedidos.indexrole:admin,cajero
Comandascomandas.indexrole:admin,cajero
Deliverydelivery.indexrole:admin,cajero
Pre-facturafacturas.indexrole:admin,cajero
Pagospagos.indexrole:admin,cajero
Cierre de Cajacierres.indexrole:admin,cajero

Administración

Exclusive to the admin role — not visible to any other role:
LinkRoute
Usuariosusuarios.index

Quick actions

Manage users

Create, edit, and assign roles to system users.

Products & inventory

Add menu items and monitor ingredient stock levels.

Tables & orders

View table status and manage active orders.

Billing & payments

Generate pre-invoices, record payments, and close the register.

Build docs developers (and LLMs) love