The dashboard is the main command center for Inventario SUD. Every time you open the app you land here and get a live snapshot of the state of your inventory — how many assets are registered, how many are currently on loan, which items need attention, and whether your consumable supplies are adequately stocked.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ChrisCore1/inventario_sud/llms.txt
Use this file to discover all available pages before exploring further.
KPI cards
Four cards sit at the top of the dashboard and refresh on every page load with data queried directly from the database.Total assets
The total number of active fixed assets (articulos) that have not been soft-deleted (
is_deleted = false).Items on loan
The count of assets whose
estado_disponibilidad is currently "Prestado".Items needing repair
The count of assets whose
estado_fisico is "Dañado". These are items that are physically damaged and typically marked as unavailable.Consumables level
An aggregate status across all consumable supplies. Possible values are Óptimo, Atención requerida, and Crítico (Agotados). See the note below for how this is derived.
The consumables status color is determined by the worst-case stock state across all consumables:
- Óptimo (green) — every consumable has
cantidad > stock_minimo. - Atención requerida (orange) — at least one consumable has
cantidad > 0butcantidad <= stock_minimo. No consumables are fully depleted. - Crítico (Agotados) (red) — at least one consumable has
cantidad = 0, regardless of others.
Recent assets table
Below the KPI cards, the dashboard displays a table of the last 20 assets added to the inventory, ordered byid_articulo descending. Each row shows the following columns:
| Column | Source field | Description |
|---|---|---|
| Name | articulos.nombre | The display name of the asset |
| Category | categorias.tipo_categoria | The assigned category label |
| Location | ubicaciones.nombre_ubicacion | The physical storage location |
| Physical status | articulos.estado_fisico | Bueno, Regular, or Dañado |
| Availability status | articulos.estado_disponibilidad | Disponible, Prestado, No Disponible, or Agotado/Baja |
| Quantity loaned | Sum of movimientosPrestamos.cantidad_prestada | Total units of this asset currently tracked in active loans |
cantidad_prestada from movimientosPrestamos where is_deleted = false, grouped by id_articulo. Assets with no active loans show 0.