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 cook dashboard gives cocinero users a view centered on kitchen operations. It surfaces the shared business metrics and limits sidebar navigation to the catalog and inventory sections — the areas a cook needs to manage day to day. Route: GET /dashboard/cocinero
Controller: DashboardController@cocinero
Named route: dashboard.cocinero
Access requires the authenticated user’s role to be cocinero or admin. Any other role receives a 403 Forbidden response.

Metrics overview

The dashboard displays four 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 currently out of stock
Below the cards, two panels provide additional context:
  • Ventas Recientes — a list of the most recent sales transactions
  • Productos Más Vendidos — a ranked list of the best-selling products
The cocinero role sees a sidebar focused on catalog and inventory.

Inteligencia de Negocios

LinkRoute
Dashboard Cocinerodashboard.cocinero

Catálogo y Menú

LinkRouteMiddleware
Productosproductos.indexrole:admin,cocinero
Inventarioinventario.indexrole:admin,cocinero
The Inventario link shows a red pulsing badge with a count when one or more ingredients have a quantity at or below their stock_minimo value. This is calculated with Inventario::whereRaw('cantidad <= stock_minimo')->count(). Watch this indicator to restock before items run out during service.

Typical workflow

1

Log in and check the dashboard

Navigate to /dashboard/cocinero after authentication. The Productos Agotados card immediately flags any items that can no longer be prepared.
2

Check the inventory badge

If the Inventario sidebar link shows a badge, open the inventory view to see which ingredients are running low and need replenishment.
3

Update product availability

In the Productos view, mark items as unavailable if their ingredients are depleted. This prevents orders from being taken for dishes that cannot be prepared.
4

Monitor incoming orders

Review the Ventas Recientes panel on the dashboard to stay aware of order volume and anticipate kitchen demand.

Quick actions

Gestión de Productos

Add, edit, or disable menu items based on what is available in the kitchen.

Control de Inventario

Track ingredient quantities and receive low-stock alerts.

Build docs developers (and LLMs) love