Dashboard & Analytics
The Sistema de Abogados dashboard provides a comprehensive overview of your law firm’s operations with real-time statistics, charts, and a calendar view of upcoming activities.Overview
Upon logging in, users are presented with the main dashboard that displays:- Quick statistics for clients, cases, expedientes, and users
- Client demographics breakdown by gender
- Monthly trends for cases and expedientes
- Activity calendar showing all scheduled events
The dashboard automatically updates statistics based on the current data in your system, providing you with an always-current view of your operations.
Key Metrics
Total Clients
Count of all registered clients in the system
Active Cases
Total number of legal cases (Casos) being managed
Expedientes
Count of all conciliation expedientes in the system
System Users
Number of registered users (attorneys, assistants, administrators)
Analytics Features
Client Demographics
The dashboard displays client distribution by gender:- Female clients count
- Male clients count
Monthly Case Trends
Chart.js powered visualizations show:- Expedientes created by month - Track conciliation case volume throughout the year
- Legal cases (Casos) created by month - Monitor litigation activity trends
- Identify busy periods
- Plan resource allocation
- Track business growth
- Compare case volumes across months
Integrated Calendar View
The dashboard includes an embedded calendar powered by FullCalendar.js that displays:- General activities (Actividad)
- Case activities (ActividadCaso) - with case number
- Expediente activities (ActividadConciliacion) - with expediente number
- Title - The activity name
- Date and time - When the activity is scheduled
- Associated record - Case or expediente number (where applicable)
The calendar provides a unified view of all scheduled activities across your entire practice, helping you stay organized and never miss important deadlines.
Dashboard Statistics
The dashboard aggregates data from multiple sources:| Metric | Data Source | Calculation |
|---|---|---|
| Total Clients | Cliente model | Cliente::count() |
| Total Expedientes | Expedientes model | Expedientes::count() |
| Total Cases | Casos model | Casos::count() |
| Total Users | User model | User::count() |
| Female Clients | Cliente model | where('genero', 'Femenino') |
| Male Clients | Cliente model | where('genero', 'Masculino') |
Monthly Analytics
Expedientes by Month
Displays the count of expedientes created each month in the current year:Cases by Month
Shows the count of legal cases created each month in the current year:Calendar Events Integration
The dashboard calendar aggregates events from three sources:- General Activities - From
Actividadmodel - Case Activities - From
ActividadCasomodel (includes case number) - Expediente Activities - From
ActividadConciliacionmodel (includes expediente number)
- Title
- Start date/time
- End date/time
- Associated record identifier
Accessing the Dashboard
The dashboard is available at/dashboard and is protected by authentication middleware:
Best Practices
Monitoring Case Load
Monitoring Case Load
Regularly review monthly trends to identify periods of high activity. Use this data to:
- Schedule staff time off during slower periods
- Plan for temporary help during busy seasons
- Track year-over-year growth
Calendar Management
Calendar Management
The dashboard calendar provides a high-level overview. For detailed activity management:
- Click on events to view details
- Use the dedicated calendar view for creating and editing activities
- Color-code activities by type for quick visual reference
Client Demographics
Client Demographics
Use demographic data to:
- Ensure balanced representation
- Tailor communication strategies
- Identify potential outreach opportunities
Technical Reference
Controller:App\Http\Controllers\Admin\IndexController.php
Route: /dashboard
Methods:
dashboard()- Basic dashboard viewdashCalendar()- Dashboard with statistics and calendar
- Chart.js for visualizations
- FullCalendar.js for calendar display
- Laravel DB facade for aggregation queries
Related Features
- Calendar & Activities - Detailed activity management
- Client Management - Managing client records
- Case Management - Working with legal cases
- Conciliation Process - Managing expedientes