Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EdgarJr30/proyecto-de-grado-cms/llms.txt
Use this file to discover all available pages before exploring further.
Dashboard Overview
The MLM CMMS reporting dashboards provide an intuitive, highly customizable interface for monitoring maintenance operations. Each dashboard tab features drag-and-drop KPI tiles and report cards that adapt to your workflow.Dashboard Structure
Global Controls
Date Presets
Quick filters: Last 30 days, Last 90 days, Year-to-Date (YTD), or Custom ranges
Location Filter
Filter all reports by specific facilities or view organization-wide metrics
Refresh Controls
Manual refresh for active tab or reset layouts to default configurations
Layout Persistence
Automatic saving of KPI and card arrangements per user account
Filter Application
Filters are applied globally across all report tabs:src/services/reportService.ts:279-289
Date filters include start of day (00:00:00) for
from and end of day (23:59:59) for to timestamps, ensuring complete date coverage.Executive Summary Dashboard
KPI Tiles
The Executive Summary provides seven critical indicators:- Operations
- Assets & Inventory
- System
- Open Work Orders: Active maintenance tasks requiring attention (⚠️ Warning tone)
- Overdue Work Orders: Past-deadline items needing immediate action (🔴 Danger tone)
- Urgent Open: High-priority emergency tickets (🔴 Danger tone)
Report Cards
Three detailed analysis cards:- Demand by Location - Horizontal bar chart showing ticket volume per facility
- Special Incidents - Impact breakdown by incident type (natural disasters, equipment failures, etc.)
- Top Consumed Parts - Inventory items with highest usage in date range
Work Management Dashboard
KPI Tiles
Eight operational metrics for maintenance teams:- Request Backlog: Unapproved work requests awaiting review
- Work Order Backlog: Approved but incomplete tasks
- OT Urgentes: Urgent work orders requiring immediate attention
- OT Vencidas: Overdue work orders past deadline
- OT Sin Asignación: Unassigned work orders needing technician allocation
- Tickets Archivados: Historical archived tickets
- Tiempo de Resolución Promedio: Average hours from creation to completion
- SLA a Tiempo: Percentage of work orders completed within deadline
SLA rate displays in green (✅ good tone) when ≥ 80%, otherwise amber (⚠️ warning tone).
Report Cards
Seven analytical views:Cumplimiento de Plazos
Categories: A tiempo, Tarde, Abierta vencida, Sin deadline, Abierta dentro de plazo
Carga por Técnico
Table showing open count, closed count, and average resolution time per technician
Technician Performance Table
Detailed productivity metrics:src/components/reports/ReportsDashboard.tsx:691-718
Assets Dashboard
Requiresassets:read or assets:full_access permission.
KPI Tiles
Ten asset health indicators:- Inventory
- Warranty
- Costs
- Total Assets: Complete asset count
- Active Assets: Operational equipment (✅ Good tone)
- In Maintenance: Assets under service (⚠️ Warning)
- Out of Service: Non-operational equipment (🔴 Danger)
- Retired: Decommissioned assets
Report Cards
Six asset analysis views:- Estado de Activos - Status distribution (EN_SERVICIO, EN_MANTENIMIENTO, FUERA_DE_SERVICIO, RETIRADO)
- Criticidad de Activos - Criticality levels 1 (Very Low) to 5 (Critical)
- Tipo de Mantenimiento - Maintenance type breakdown (PREVENTIVO, CORRECTIVO, PREDICTIVO)
- Activos con Más Tickets - Top 10 assets by work order volume
- Mayor Costo de Mantenimiento - Top 10 assets by maintenance spend
- Mayor Inactividad - Top 10 assets by downtime minutes
Inventory Parts Dashboard
Requiresinventory:read or inventory:full_access permission.
KPI Tiles
Ten inventory metrics:- Total Parts: Unique part count
- Critical Parts: High/Critical priority items
- On Hand Qty: Current stock levels
- Reserved Qty: Parts allocated to work orders
- Available Qty: Stock available for new requests
- Needs Reorder: Parts below minimum threshold
- Docs Draft: Incomplete inventory documents
- Docs Cancelled: Canceled transactions
- Inventory Valuation: Total stock value
- Consumption Cost: Period consumption value
Report Cards
Documents by Status
Inventory document status distribution (DRAFT, POSTED, CANCELLED)
Documents by Type
Transaction types: ENTRADA, SALIDA, AJUSTE, TRANSFERENCIA
Top Consumed Parts
Highest usage parts with consumption quantities
Reorder Suggestions
Parts needing replenishment with suggested quantities
Pending Delivery by WO
Reserved parts awaiting issuance to work orders
Administration Dashboard
Requires admin permissions:users:read, rbac:manage_permissions, rbac:manage_roles, or announcements:read.
KPI Tiles
- Roles: Total role definitions
- Permissions: Total permission codes
- Active Users: Currently enabled accounts
- Inactive Users: Disabled accounts
- Active Technicians: Assignable technicians
- Technicians Without User: Unlinked technician records
- Active Announcements: Current system notifications
- Expiring Announcements: Announcements ending within 7 days
- Active Locations: Enabled facilities
- Active Societies: Enabled organizational entities
Report Cards
- Users by Role - User distribution across defined roles
- Technicians by Section - Assignment breakdown by department
- Announcements by Level - Notification severity distribution (info, warning, critical)
- Demand by Location - Ticket volume per facility (filtered by date range)
- Role Permission Matrix - Table showing role name, user count, and permission count
Customization Features
Drag-and-Drop Layout
Layout Persistence
Implemented viareportLayoutService.ts:
src/services/reportLayoutService.ts:58-87
Layout preferences use a two-tier strategy: localStorage for offline resilience and optional Supabase sync (controlled by
VITE_ENABLE_REMOTE_REPORT_LAYOUT=true).Reset Options
- Current Tab
- All Tabs
Orden por defecto button restores default arrangement for the active tab only
Animation and UX
Motion Design
The dashboard uses Framer Motion for smooth transitions:src/components/reports/ReportsDashboard.tsx:678-689
Animations automatically disable when
prefers-reduced-motion is detected, ensuring accessibility compliance.Best Practices
Arrange KPIs by Priority
Arrange KPIs by Priority
Place critical metrics (overdue tickets, urgent work orders) in top-left positions for immediate visibility.
Use Location Filters for Deep Dives
Use Location Filters for Deep Dives
When investigating site-specific issues, isolate location data to identify local patterns and anomalies.
Compare Time Periods
Compare Time Periods
Run reports for current period (30d), then switch to same period last quarter/year for trend comparison.
Regular Layout Reviews
Regular Layout Reviews
Periodically reassess your dashboard layout as priorities shift (e.g., move inventory KPIs up during supply chain disruptions).
Leverage YTD for Annual Planning
Leverage YTD for Annual Planning
Use Year-to-Date filters when preparing budget proposals or annual maintenance strategy reviews.
Troubleshooting
Report Not Loading
Check Permissions
Verify your account has required permissions for the report tab (Assets, Inventory, Admin)
Layout Not Saving
Next: Custom Reports
Learn how to generate specialized reports and export data for external analysis