reports page implementation

This commit is contained in:
2026-02-18 15:10:01 +05:30
parent fe87291651
commit d589c9bca2
51 changed files with 5325 additions and 11 deletions

View File

@@ -1140,5 +1140,318 @@
"availability": {
"updated": "Availability updated successfully"
}
},
"client_reports": {
"title": "Workforce Control Tower",
"tabs": {
"today": "Today",
"week": "Week",
"month": "Month",
"quarter": "Quarter"
},
"metrics": {
"total_hrs": {
"label": "Total Hrs",
"badge": "This period"
},
"ot_hours": {
"label": "OT Hours",
"badge": "5.1% of total"
},
"total_spend": {
"label": "Total Spend",
"badge": "↓ 8% vs last week"
},
"fill_rate": {
"label": "Fill Rate",
"badge": "↑ 2% improvement"
},
"avg_fill_time": {
"label": "Avg Fill Time",
"badge": "Industry best"
},
"no_show_rate": {
"label": "No-Show Rate",
"badge": "Below avg"
}
},
"quick_reports": {
"title": "Quick Reports",
"export_all": "Export All",
"two_click_export": "2-click export",
"cards": {
"daily_ops": "Daily Ops Report",
"spend": "Spend Report",
"coverage": "Coverage Report",
"no_show": "No-Show Report",
"forecast": "Forecast Report",
"performance": "Performance Report"
}
},
"ai_insights": {
"title": "AI Insights",
"insight_1": {
"prefix": "You could save ",
"highlight": "USD 1,200/month",
"suffix": " by booking workers 48hrs in advance"
},
"insight_2": {
"prefix": "Weekend demand is ",
"highlight": "40% higher",
"suffix": " - consider scheduling earlier"
},
"insight_3": {
"prefix": "Your top 5 workers complete ",
"highlight": "95% of shifts",
"suffix": " - mark them as preferred"
}
},
"daily_ops_report": {
"title": "Daily Ops Report",
"subtitle": "Real-time shift tracking",
"metrics": {
"scheduled": {
"label": "Scheduled",
"sub_value": "shifts"
},
"workers": {
"label": "Workers",
"sub_value": "confirmed"
},
"in_progress": {
"label": "In Progress",
"sub_value": "active now"
},
"completed": {
"label": "Completed",
"sub_value": "done today"
}
},
"all_shifts_title": "ALL SHIFTS",
"shift_item": {
"time": "Time",
"workers": "Workers",
"rate": "Rate"
},
"statuses": {
"processing": "Processing",
"filling": "Filling",
"confirmed": "Confirmed",
"completed": "Completed"
},
"placeholders": {
"export_message": "Exporting Daily Operations Report (Placeholder)"
}
},
"spend_report": {
"title": "Spend Report",
"subtitle": "Cost analysis & breakdown",
"summary": {
"total_spend": "Total Spend",
"avg_daily": "Avg Daily",
"this_week": "This week",
"per_day": "Per day"
},
"chart_title": "Daily Spend Trend",
"charts": {
"mon": "Mon",
"tue": "Tue",
"wed": "Wed",
"thu": "Thu",
"fri": "Fri",
"sat": "Sat",
"sun": "Sun"
},
"spend_by_industry": "Spend by Industry",
"industries": {
"hospitality": "Hospitality",
"events": "Events",
"retail": "Retail"
},
"percent_total": "$percent% of total",
"insights": {
"title": "Cost Insights",
"insight_1": {
"prefix": "Your spend is ",
"highlight": "8% lower",
"suffix": " than last week"
},
"insight_2": {
"prefix": "",
"highlight": "Friday",
"suffix": " had the highest spend (USD 4.1k)"
},
"insight_3": {
"prefix": "Hospitality accounts for ",
"highlight": "48%",
"suffix": " of total costs"
}
},
"placeholders": {
"export_message": "Exporting Spend Report (Placeholder)"
}
},
"forecast_report": {
"title": "Forecast Report",
"subtitle": "Next 4 weeks projection",
"summary": {
"four_week": "4-Week Forecast",
"avg_weekly": "Avg Weekly",
"total_shifts": "Total Shifts",
"total_hours": "Total Hours",
"total_projected": "Total projected",
"per_week": "Per week",
"scheduled": "Scheduled",
"worker_hours": "Worker hours"
},
"spending_forecast": "Spending Forecast",
"weekly_breakdown": "WEEKLY BREAKDOWN",
"breakdown_headings": {
"shifts": "Shifts",
"hours": "Hours",
"avg_shift": "Avg/Shift"
},
"insights": {
"title": "Forecast Insights",
"insight_1": {
"prefix": "Demand is expected to spike by ",
"highlight": "25%",
"suffix": " in week 3"
},
"insight_2": {
"prefix": "Projected spend for next month is ",
"highlight": "USD 68.4k",
"suffix": ""
},
"insight_3": {
"prefix": "Consider increasing budget for ",
"highlight": "Holiday Season",
"suffix": " coverage"
}
},
"placeholders": {
"export_message": "Exporting Forecast Report (Placeholder)"
}
},
"performance_report": {
"title": "Performance Report",
"subtitle": "Key metrics & benchmarks",
"overall_score": {
"title": "Overall Performance Score",
"label": "Excellent"
},
"kpis_title": "KEY PERFORMANCE INDICATORS",
"kpis": {
"fill_rate": "Fill Rate",
"completion_rate": "Completion Rate",
"on_time_rate": "On-Time Rate",
"avg_fill_time": "Avg Fill Time",
"target_prefix": "Target: ",
"met": "✓ Met",
"close": "↗ Close"
},
"additional_metrics_title": "ADDITIONAL METRICS",
"additional_metrics": {
"total_shifts": "Total Shifts",
"no_show_rate": "No-Show Rate",
"worker_pool": "Worker Pool",
"avg_rating": "Avg Rating"
},
"insights": {
"title": "Performance Insights",
"insight_1": {
"prefix": "Your fill rate is ",
"highlight": "4% above",
"suffix": " industry benchmark"
},
"insight_2": {
"prefix": "Worker retention is at ",
"highlight": "high",
"suffix": " levels this quarter"
},
"insight_3": {
"prefix": "On-time arrival improved by ",
"highlight": "12%",
"suffix": " since last month"
}
},
"placeholders": {
"export_message": "Exporting Performance Report (Placeholder)"
}
},
"no_show_report": {
"title": "No-Show Report",
"subtitle": "Reliability tracking",
"metrics": {
"no_shows": "No-Shows",
"rate": "Rate",
"workers": "Workers"
},
"workers_list_title": "WORKERS WITH NO-SHOWS",
"no_show_count": "$count no-show(s)",
"latest_incident": "Latest incident",
"risks": {
"high": "High Risk",
"medium": "Medium Risk",
"low": "Low Risk"
},
"insights": {
"title": "Reliability Insights",
"insight_1": {
"prefix": "Your no-show rate of ",
"highlight": "1.2%",
"suffix": " is below industry average"
},
"insight_2": {
"prefix": "",
"highlight": "1 worker",
"suffix": " has multiple incidents this month"
},
"insight_3": {
"prefix": "Consider implementing ",
"highlight": "confirmation reminders",
"suffix": " 24hrs before shifts"
}
},
"placeholders": {
"export_message": "Exporting No-Show Report (Placeholder)"
}
},
"coverage_report": {
"title": "Coverage Report",
"subtitle": "Staffing levels & gaps",
"metrics": {
"avg_coverage": "Avg Coverage",
"full": "Full",
"needs_help": "Needs Help"
},
"next_7_days": "NEXT 7 DAYS",
"shift_item": {
"confirmed_workers": "$confirmed/$needed workers confirmed",
"spots_remaining": "$count spots remaining",
"fully_staffed": "Fully staffed"
},
"insights": {
"title": "Coverage Insights",
"insight_1": {
"prefix": "Your average coverage rate is ",
"highlight": "96%",
"suffix": " - above industry standard"
},
"insight_2": {
"prefix": "",
"highlight": "2 days",
"suffix": " need immediate attention to reach full coverage"
},
"insight_3": {
"prefix": "Weekend coverage is typically ",
"highlight": "98%",
"suffix": " vs weekday 94%"
}
},
"placeholders": {
"export_message": "Exporting Coverage Report (Placeholder)"
}
}
}
}

View File

@@ -1140,5 +1140,318 @@
"availability": {
"updated": "Disponibilidad actualizada con éxito"
}
},
"client_reports": {
"title": "Torre de Control de Personal",
"tabs": {
"today": "Hoy",
"week": "Semana",
"month": "Mes",
"quarter": "Trimestre"
},
"metrics": {
"total_hrs": {
"label": "Total de Horas",
"badge": "Este período"
},
"ot_hours": {
"label": "Horas Extra",
"badge": "5.1% del total"
},
"total_spend": {
"label": "Gasto Total",
"badge": "↓ 8% vs semana pasada"
},
"fill_rate": {
"label": "Tasa de Cobertura",
"badge": "↑ 2% de mejora"
},
"avg_fill_time": {
"label": "Tiempo Promedio de Llenado",
"badge": "Mejor de la industria"
},
"no_show_rate": {
"label": "Tasa de Faltas",
"badge": "Bajo el promedio"
}
},
"quick_reports": {
"title": "Informes Rápidos",
"export_all": "Exportar Todo",
"two_click_export": "Exportación en 2 clics",
"cards": {
"daily_ops": "Informe de Ops Diarias",
"spend": "Informe de Gastos",
"coverage": "Informe de Cobertura",
"no_show": "Informe de Faltas",
"forecast": "Informe de Previsión",
"performance": "Informe de Rendimiento"
}
},
"ai_insights": {
"title": "Perspectivas de IA",
"insight_1": {
"prefix": "Podrías ahorrar ",
"highlight": "USD 1,200/mes",
"suffix": " reservando trabajadores con 48h de antelación"
},
"insight_2": {
"prefix": "La demanda del fin de semana es un ",
"highlight": "40% superior",
"suffix": " - considera programar antes"
},
"insight_3": {
"prefix": "Tus 5 mejores trabajadores completan el ",
"highlight": "95% de los turnos",
"suffix": " - márcalos como preferidos"
}
},
"daily_ops_report": {
"title": "Informe de Ops Diarias",
"subtitle": "Seguimiento de turnos en tiempo real",
"metrics": {
"scheduled": {
"label": "Programado",
"sub_value": "turnos"
},
"workers": {
"label": "Trabajadores",
"sub_value": "confirmados"
},
"in_progress": {
"label": "En Progreso",
"sub_value": "activos ahora"
},
"completed": {
"label": "Completado",
"sub_value": "hechos hoy"
}
},
"all_shifts_title": "TODOS LOS TURNOS",
"shift_item": {
"time": "Hora",
"workers": "Trabajadores",
"rate": "Tarifa"
},
"statuses": {
"processing": "Procesando",
"filling": "Llenando",
"confirmed": "Confirmado",
"completed": "Completado"
},
"placeholders": {
"export_message": "Exportando Informe de Operaciones Diarias (Marcador de posición)"
}
},
"spend_report": {
"title": "Informe de Gastos",
"subtitle": "Análisis y desglose de costos",
"summary": {
"total_spend": "Gasto Total",
"avg_daily": "Promedio Diario",
"this_week": "Esta semana",
"per_day": "Por día"
},
"chart_title": "Tendencia de Gasto Diario",
"charts": {
"mon": "Lun",
"tue": "Mar",
"wed": "Mié",
"thu": "Jue",
"fri": "Vie",
"sat": "Sáb",
"sun": "Dom"
},
"spend_by_industry": "Gasto por Industria",
"industries": {
"hospitality": "Hostelería",
"events": "Eventos",
"retail": "Venta minorista"
},
"percent_total": "$percent% del total",
"insights": {
"title": "Perspectivas de Costos",
"insight_1": {
"prefix": "Tu gasto es un ",
"highlight": "8% menor",
"suffix": " que la semana pasada"
},
"insight_2": {
"prefix": "El ",
"highlight": "Viernes",
"suffix": " tuvo el mayor gasto (USD 4.1k)"
},
"insight_3": {
"prefix": "La hostelería representa el ",
"highlight": "48%",
"suffix": " de los costos totales"
}
},
"placeholders": {
"export_message": "Exportando Informe de Gastos (Marcador de posición)"
}
},
"forecast_report": {
"title": "Informe de Previsión",
"subtitle": "Proyección para las próximas 4 semanas",
"summary": {
"four_week": "Previsión de 4 Semanas",
"avg_weekly": "Promedio Semanal",
"total_shifts": "Total de Turnos",
"total_hours": "Total de Horas",
"total_projected": "Total proyectado",
"per_week": "Por semana",
"scheduled": "Programado",
"worker_hours": "Horas de trabajadores"
},
"spending_forecast": "Previsión de Gastos",
"weekly_breakdown": "DESGLOSE SEMANAL",
"breakdown_headings": {
"shifts": "Turnos",
"hours": "Horas",
"avg_shift": "Prom/Turno"
},
"insights": {
"title": "Perspectivas de Previsión",
"insight_1": {
"prefix": "Se espera que la demanda aumente un ",
"highlight": "25%",
"suffix": " en la semana 3"
},
"insight_2": {
"prefix": "El gasto proyectado para el próximo mes es de ",
"highlight": "USD 68.4k",
"suffix": ""
},
"insight_3": {
"prefix": "Considera aumentar el presupuesto para la cobertura de ",
"highlight": "Temporada de Vacaciones",
"suffix": ""
}
},
"placeholders": {
"export_message": "Exportando Informe de Previsión (Marcador de posición)"
}
},
"performance_report": {
"title": "Informe de Rendimiento",
"subtitle": "Métricas clave y comparativas",
"overall_score": {
"title": "Puntuación de Rendimiento General",
"label": "Excelente"
},
"kpis_title": "INDICADORES CLAVE DE RENDIMIENTO (KPI)",
"kpis": {
"fill_rate": "Tasa de Llenado",
"completion_rate": "Tasa de Finalización",
"on_time_rate": "Tasa de Puntualidad",
"avg_fill_time": "Tiempo Promedio de Llenado",
"target_prefix": "Objetivo: ",
"met": "✓ Cumplido",
"close": "↗ Cerca"
},
"additional_metrics_title": "MÉTRICAS ADICIONALES",
"additional_metrics": {
"total_shifts": "Total de Turnos",
"no_show_rate": "Tasa de Faltas",
"worker_pool": "Grupo de Trabajadores",
"avg_rating": "Calificación Promedio"
},
"insights": {
"title": "Perspectivas de Rendimiento",
"insight_1": {
"prefix": "Tu tasa de llenado es un ",
"highlight": "4% superior",
"suffix": " al promedio de la industria"
},
"insight_2": {
"prefix": "La retención de trabajadores está en niveles ",
"highlight": "altos",
"suffix": " este trimestre"
},
"insight_3": {
"prefix": "La llegada puntual mejoró un ",
"highlight": "12%",
"suffix": " desde el mes pasado"
}
},
"placeholders": {
"export_message": "Exportando Informe de Rendimiento (Marcador de posición)"
}
},
"no_show_report": {
"title": "Informe de Faltas",
"subtitle": "Seguimiento de confiabilidad",
"metrics": {
"no_shows": "Faltas",
"rate": "Tasa",
"workers": "Trabajadores"
},
"workers_list_title": "TRABAJADORES CON FALTAS",
"no_show_count": "$count falta(s)",
"latest_incident": "Último incidente",
"risks": {
"high": "Riesgo Alto",
"medium": "Riesgo Medio",
"low": "Riesgo Bajo"
},
"insights": {
"title": "Perspectivas de Confiabilidad",
"insight_1": {
"prefix": "Tu tasa de faltas del ",
"highlight": "1.2%",
"suffix": " está por debajo del promedio de la industria"
},
"insight_2": {
"prefix": "",
"highlight": "1 trabajador",
"suffix": " tiene múltiples incidentes este mes"
},
"insight_3": {
"prefix": "Considera implementar ",
"highlight": "recordatorios de confirmación",
"suffix": " 24h antes de los turnos"
}
},
"placeholders": {
"export_message": "Exportando Informe de Faltas (Marcador de posición)"
}
},
"coverage_report": {
"title": "Informe de Cobertura",
"subtitle": "Niveles de personal y brechas",
"metrics": {
"avg_coverage": "Cobertura Promedio",
"full": "Completa",
"needs_help": "Necesita Ayuda"
},
"next_7_days": "PRÓXIMOS 7 DÍAS",
"shift_item": {
"confirmed_workers": "$confirmed/$needed trabajadores confirmados",
"spots_remaining": "$count puestos restantes",
"fully_staffed": "Totalmente cubierto"
},
"insights": {
"title": "Perspectivas de Cobertura",
"insight_1": {
"prefix": "Tu tasa de cobertura promedio es del ",
"highlight": "96%",
"suffix": " - por encima del estándar de la industria"
},
"insight_2": {
"prefix": "",
"highlight": "2 días",
"suffix": " necesitan atención inmediata para alcanzar la cobertura completa"
},
"insight_3": {
"prefix": "La cobertura de fin de semana es típicamente del ",
"highlight": "98%",
"suffix": " vs 94% en días laborables"
}
},
"placeholders": {
"export_message": "Exportando Informe de Cobertura (Marcador de posición)"
}
}
}
}