Statistics Modal
The stats modal provides comprehensive analytics on cashout performance.Accessing Stats
Click the ”📊 Stats” button in the sidebar:Filter Options
Loading Statistics
GET /api/stats?startRow=9082&startDate=YYYY-MM-DD&endDate=YYYY-MM-DD&company=CompanyName
General Statistics Cards
Four main metrics are displayed at the top:1. Cashouts Aprobados (Approved)
- Icon: ✅
- Color: Green (#27ae60)
2. Cashouts Rechazados (Rejected)
- Icon: ❌
- Color: Red (#e74c3c)
3. Tasa de Aprobación (Approval Rate)
- Icon: 📊
- Color: Blue (#3498db)
4. Total Procesados (Total Processed)
- Icon: 📝
- Color: Orange (#f39c12)
Operator Rankings
Table showing performance by operator:#: Rank numberOperador: Operator nameAprobados: Approved count (green)Rechazados: Rejected count (red)Total: Total cashoutsTasa: Approval rate (green if 90% or higher, red if below 90%)
Historical Records Table
Full history with pagination and search:Historical Table Columns
| Column | Data | Format |
|---|---|---|
| Código | operationCode | Monospace font |
| Operador | operatorName | Plain text |
| Compañía | company | Plain text |
| Fecha/Hora | cashoutTime | Timestamp |
| Estado | status | ✅ (approved) / ❌ (rejected) |
| Supervisor | supervisorName | Plain text or - |
Shift Performance (Promedios por Turno)
Displays average cashouts by shift:- 🌅 Mañana: 7:00-14:30
- 🌇 Tarde: 14:30-22:00
- 🌙 Noche: 22:00-7:00
- Turno (Shift name)
- Total Cashouts
- Promedio/día (Average per day)
- % del Total (Percentage of total)
Operator Shift Performance
Breaks down each operator’s performance by shift:Company Statistics
Cashout breakdown by company: Columns:- Compañía (Company name)
- Aprobados (Approved count)
- Rechazados (Rejected count)
- Total (Total cashouts)
- Tasa (Approval rate %)
Leaderboard Modal
Separate leaderboard showing top performers.Accessing Leaderboard
Loading Leaderboard Data
GET /api/leaderboard
Leaderboard Display
- Top 3: 🥇 🥈 🥉 medals with gold background
- Others: Rank number with teal background
- Data Shown:
- Supervisor name
- Total cashouts verified
- Average processing time
Filter Logic
Loading States
Initial Load
Initial Load
Empty States
Empty States
Each table has a fallback message when no data is available: