Actions
roos-fs tasks #522
open(STATISTICS) Implement export functionality for filtered statistics data
Start date:
10/10/2025
Due date:
% Done:
0%
Estimated time:
10:00 h
Description
A functionality must be added to export the currently displayed statistics data into a downloadable file (CSV or XML format). The export should reflect exactly what the user sees on the statistics page — including all applied filters and selected time periods.
Requirements:
- The user can export the currently visible statistics data via a button (e.g., “Export Data”).
The exported file must include:
- Customer name (or “All Customers” if no specific customer is selected).
- Selected time period (e.g., “09.2025–12.2025” or “Last 3 months”).
All displayed statistical values (if selected) — including:
- Number of services completed per month.
- Total income (revenue) values.
- Cancellation fees.
- The export should reflect exactly the same filters and data as shown on screen at the time of export.
Supported file formats:
- CSV (primary format)
- XML (optional secondary format)
Expected behavior:
- When the user clicks the Export button, a CSV (or XML) file is generated and downloaded.
- The content of the file mirrors the filtered dataset currently displayed on the statistics dashboard.
- The file includes clear column headers and well-structured data for easy processing.
Goal:
Provide users with an easy way to export and archive their filtered statistical data for reporting, analysis, or administrative purposes.
Actions