Skip to main content

Overview

The Reports module in GIMA provides powerful analytics and reporting capabilities for asset management, maintenance tracking, and operational insights. Access the reporting interface at /reportes to generate, schedule, and review comprehensive reports.

Report History

Access previously generated reports with 345 reports created last month

Report Generation

Create custom reports on demand with flexible parameters and filters

Scheduled Reports

Automate report generation and delivery on recurring schedules

AI Assistance

Get intelligent help with report interpretation and data analysis

Report Dashboard

The main reports page at src/app/reportes/page.tsx displays key metrics at a glance:
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-10">
  <StatCard 
    icon={<BookOpen size={24} />} 
    title="Reportes Generados" 
    value="345" 
    subtext="Reportes en el Ultimo mes" 
  />
  <StatCard 
    icon={<FileCheck size={24} />} 
    title="Reportes Atendidos" 
    value="Ultimo: 09/09/2021" 
    subtext="" 
    isDate={true} 
  />
  <StatCard 
    icon={<AlertCircle size={24} />} 
    title="Reportes Pendientes" 
    value="254" 
    subtext="Requieren acción" 
  />
</div>

Report Metrics Explained

Total number of reports created in the last month, including:
  • Asset inventory reports
  • Maintenance history reports
  • Budget and cost analyses
  • Performance metrics reports
  • Custom ad-hoc reports
High report generation indicates active system usage and data-driven decision making.
Timestamp of the most recently reviewed or acted upon report. This metric helps track:
  • Report review cadence
  • Team responsiveness to insights
  • Data freshness awareness
Displayed as a date badge rather than a numeric value.
Number of generated reports awaiting review or action. Includes:
  • Unread scheduled reports
  • Reports with action items
  • Draft reports pending approval
  • Reports requiring follow-up
The “Requieren acción” subtext emphasizes urgency.

Report Types

Inventory and Asset Status ReportsGenerate comprehensive views of your asset portfolio:
  • Full Inventory: Complete list of all assets across categories
  • Category Breakdown: Assets grouped by COMPUTO, INFRAESTRUCTURA, etc.
  • Status Report: Assets by operational status (available, in maintenance, retired)
  • Age Analysis: Asset age distribution and replacement forecasting
  • Utilization Metrics: Asset usage patterns and efficiency
Example data structure:
interface AssetReport {
  totalAssets: number;
  byCategory: {
    category: string;
    count: number;
    percentage: number;
  }[];
  byStatus: {
    available: number;
    inMaintenance: number;
    retired: number;
  };
  avgAge: number;
}

Report Navigation

The reports interface includes a sleek navigation bar for different report sections:
<div className="mx-6 mt-6 mb-8 bg-gima-light rounded-full px-8 py-3 flex items-center justify-between">
  <div className="flex gap-24 text-sm font-medium text-slate-500">
    <button className="hover:text-gima-navy hover:bg-white/50 px-4 py-2 rounded-full transition-all">
      Historial de Reportes
    </button>
    <button className="hover:text-gima-navy hover:bg-white/50 px-4 py-2 rounded-full transition-all">
      Generar Reportes
    </button>
    <button className="hover:text-gima-navy hover:bg-white/50 px-4 py-2 rounded-full transition-all">
      Programados
    </button>
  </div>
  
  <Link href="/asistencia">
    <button className="bg-gima-navy text-white px-8 py-2.5 rounded-full text-sm font-bold hover:bg-slate-800 transition shadow-lg shadow-gima-navy/20 flex items-center gap-2 transform hover:scale-105 active:scale-95">
      Asistencia IA
    </button>
  </Link>
</div>
1

Historial de Reportes

Browse previously generated reports:
  • Filter by date range
  • Search by report type
  • Sort by creation date or relevance
  • Download or share reports
2

Generar Reportes

Create new reports on demand:
  • Select report type
  • Configure parameters and filters
  • Choose date ranges
  • Set output format (PDF, Excel, CSV)
3

Programados

Manage scheduled reports:
  • Create recurring report schedules
  • Edit existing schedules
  • Configure delivery recipients
  • View next scheduled generation
4

Asistencia IA

Quick access to AI help:
  • Ask questions about report data
  • Get help interpreting metrics
  • Receive recommendations based on trends
  • Diagnose issues revealed in reports

StatCard Component for Reports

The reports page uses a custom StatCard implementation that differs slightly from the dashboard version:
function StatCard({ icon, title, value, subtext, isDate = false }: any) {
  return (
    <div className="bg-white p-6 rounded-3xl shadow-sm hover:shadow-lg transition-all duration-300 border border-slate-50 group hover:-translate-y-1">
      <div className="mb-4 text-slate-700 p-3 bg-slate-50 w-fit rounded-xl border border-slate-100 group-hover:bg-gima-light group-hover:text-gima-blue transition-colors">
        {icon}
      </div>
      <h3 className="font-bold text-slate-800 mb-4 text-sm uppercase tracking-wider opacity-80">
        {title}
      </h3>
      {isDate ? (
        <div className="text-sm font-medium text-slate-600 mb-1 bg-slate-100 w-fit px-3 py-1 rounded-full">
          {value}
        </div>
      ) : (
        <>
          <div className="text-xs text-slate-400 mb-1">{subtext}</div>
          <div className="text-4xl font-microgramma text-slate-800">{value}</div>
        </>
      )}
    </div>
  );
}
The reports StatCard features hover animations (lift effect with -translate-y-1) and icon color transitions that enhance interactivity.

Generating Reports

1

Select Report Type

Choose from available report templates:
  • Asset inventory
  • Maintenance history
  • Financial summary
  • Performance metrics
  • Custom report
2

Configure Parameters

Set report criteria:Date Range:
  • Last 7 days
  • Last 30 days
  • Last 6 months
  • Custom range
Filters:
  • Asset categories
  • Departments
  • Status types
  • Cost ranges
3

Select Output Format

Choose how to receive the report:
  • PDF (formatted for printing)
  • Excel (editable data)
  • CSV (data import/export)
  • Web view (interactive)
4

Generate & Review

Create the report and review results:
  • Download to local device
  • Share via email
  • Save to report history
  • Schedule for recurring generation

Scheduled Reports

Automate report generation for regular insights:

Daily Reports

Operational DashboardsGenerate daily summaries for:
  • Asset availability
  • Maintenance queue
  • Budget tracking
  • System alerts
Delivered each morning for day-start briefings

Weekly Reports

Performance ReviewsWeekly analytics including:
  • Maintenance completed
  • New assets added
  • Cost summaries
  • Trend analysis
Ideal for team meetings and status updates

Monthly Reports

Executive SummariesComprehensive monthly reports:
  • Complete inventory status
  • Financial performance
  • KPI tracking
  • Year-over-year comparisons
Formatted for management and stakeholders

Custom Schedules

Flexible TimingCreate custom schedules:
  • Quarterly reviews
  • Bi-weekly updates
  • End-of-month summaries
  • Event-triggered reports
Full control over timing and recipients

AI-Powered Report Analysis

The integrated AI Assistance button provides intelligent report interpretation:
<Link href="/asistencia">
  <button className="bg-gima-navy text-white px-8 py-2.5 rounded-full text-sm font-bold hover:bg-slate-800 transition shadow-lg shadow-gima-navy/20 flex items-center gap-2 transform hover:scale-105 active:scale-95">
    Asistencia IA
  </button>
</Link>

AI-Assisted Insights

AI can identify patterns in report data:
  • Increasing maintenance costs in specific categories
  • Seasonal asset utilization patterns
  • Declining asset availability trends
  • Budget variance anomalies
Automatically flag unusual patterns:
  • Unexpected spikes in maintenance requests
  • Assets with abnormally high repair costs
  • Categories with declining performance
  • Budget overruns in specific areas
Receive actionable suggestions:
  • “Consider replacing assets in COMPUTO category with MTBF below threshold”
  • “Schedule preventive maintenance for HVAC systems before peak season”
  • “Reallocate budget from underutilized categories”
  • “Increase inventory of frequently replaced parts”
Ask questions about your reports:
  • “Why did maintenance costs increase 15% last month?”
  • “Which asset category has the best ROI?”
  • “How does our availability compare to industry benchmarks?”
  • “What’s driving the trend in budget execution?”
The AI assistant has access to historical data and can provide context that helps explain current report findings.

Best Practices

Regular Review Schedule

Establish a routine for reviewing key reports:
  • Daily operational metrics
  • Weekly performance reviews
  • Monthly financial summaries
  • Quarterly strategic analysis

Share Insights

Distribute reports to stakeholders:
  • Email scheduled reports automatically
  • Share links to web-based reports
  • Present findings in team meetings
  • Create executive dashboards

Act on Data

Use reports to drive decisions:
  • Identify assets needing replacement
  • Optimize maintenance schedules
  • Adjust budget allocations
  • Improve operational efficiency

Archive Strategically

Maintain report history effectively:
  • Keep reports for compliance periods
  • Document decision-making context
  • Track progress over time
  • Support audits and reviews
With 254 pending reports requiring action, ensure you have processes in place to review and respond to generated reports promptly. Unreviewed reports provide no value.

Report Visualization

The reports interface includes embedded chat and diagnostic features for contextual analysis:
<div className="px-10 flex gap-8 border-b border-slate-100 mb-6">
  <button 
    onClick={() => setActiveTab('chat')}
    className={`pb-3 flex items-center gap-2 transition-all border-b-2 ${
      activeTab === 'chat' 
        ? "text-gima-navy font-bold border-gima-navy scale-105" 
        : "text-slate-400 hover:text-slate-600 border-transparent hover:border-slate-200"
    }`}
  >
    <MessageSquare size={18} /> Chat
  </button>
  
  <button 
    onClick={() => setActiveTab('diagnostico')}
    className={`pb-3 flex items-center gap-2 transition-all border-b-2 ${
      activeTab === 'diagnostico' 
        ? "text-gima-navy font-bold border-gima-navy scale-105" 
        : "text-slate-400 hover:text-slate-600 border-transparent hover:border-slate-200"
    }`}
  >
    <Zap size={18} /> Diagnóstico
  </button>
</div>
This integration allows users to get AI help while reviewing report data, creating a seamless analytical workflow.

Export Options

Professional Formatted ReportsPDF exports include:
  • Company branding and headers
  • Charts and visualizations
  • Tables with formatting
  • Page numbers and dates
  • Signature fields for approvals
Ideal for presentations and formal documentation.

Build docs developers (and LLMs) love