Task #17574
openTask #18500: Ocean Sprint Planning for 17/07/2025 - 25/07/2025
Reports - Sales Report
65%
Description
Kindly compare the below report from FFS to the different samples of the Sales Report from FFWDs and add the missing fields. Note that you can either create a new report for "Sales Report" or update this existing one.
Acceptance Criteria:¶
-
Report Generation
- The system should provide a Sales Report under the reports module.
- Users should be able to generate the report for a specific date range.
- The report should be exportable in PDF, Excel, and CSV formats.
-
Report Header
- Company Name, Logo, Address, Contact Info, VAT Registration Number
- Report Title: "Sales Report"
- Reporting Period (clearly stated From - To dates)
-
Filter Options
- Users should be able to filter the report by:
- Date Range (Daily, Weekly, Monthly, Custom Date Selection)
- Client Name
- Invoice Status (Paid, Unpaid, Partially Paid)
- Salesperson
-
Department(Freight, Clearing, Warehousing, etc.)—since we do not have a department, list the Service (ocean import, ocean export, air import, air export, sea clearing, Air clearing, etc.) here. - Currency & Exchange Rate
- Users should be able to filter the report by:
-
Permissions & Access Control
- Only authorised users (e.g., finance team, management) should have access to generate this report.
- Salespersons should only see their own sales data.
-
Formatting and readability:
- Clearly aligned numeric columns for easy readability.
- Amounts formatted clearly to two decimal points.
-
FooterPage
- numbering (Page X of Y)
- Printed by <user>
- Report generation Date & Time
-
Error Handling & Notifications
-
If no data is available for the selected date range, display a message:
"No data found for the selected period."
-
If the report fails to generate, log an error and notify the user.
-
-
Report Contents
The report should include the columns as per the below samples from the FFWDs.
FFS - Reports -> Invoice and Payment
{width="626" height="253"}
Different Sample Sales Report from FFWDs
-
{width="723" height="495"} -
{width="1307" height="201"} -
{width="1001" height="1416"}
GitLab Sync Log
[{"id": "19439", "author": "Waliyuddin Delba", "hours": 4.0, "created": "2025-03-26T05:16:02.207Z", "log_date": "2025-03-25", "comment": "Imported from GitLab by @Waliyuddin Delba on 2025-03-26T05:16:02.207Z: 4h-(4.0)h spend at: 2025-03-25", "status": "active", "deleted_by": "", "redmine_entry_id": 8938}, {"id": "18937", "author": "Waliyuddin Delba", "hours": 5.0, "created": "2025-03-24T11:55:59.909Z", "log_date": "2025-03-23", "comment": "Imported from GitLab by @Waliyuddin Delba on 2025-03-24T11:55:59.909Z: 5h-(5.0)h spend at: 2025-03-23", "status": "active", "deleted_by": "", "redmine_entry_id": 8939}, {"id": "18887", "author": "Waliyuddin Delba", "hours": 5.0, "created": "2025-03-21T11:51:42.984Z", "log_date": "2025-03-20", "comment": "Imported from GitLab by @Waliyuddin Delba on 2025-03-21T11:51:42.984Z: 5h-(5.0)h spend at: 2025-03-20", "status": "active", "deleted_by": "", "redmine_entry_id": 8940}, {"id": "18793", "author": "Waliyuddin Delba", "hours": 6.0, "created": "2025-03-20T11:48:11.314Z", "log_date": "2025-03-19", "comment": "Imported from GitLab by @Waliyuddin Delba on 2025-03-20T11:48:11.314Z: 6h-(6.0)h spend at: 2025-03-19", "status": "active", "deleted_by": "", "redmine_entry_id": 8941}, {"id": "27021", "author": "Waliyuddin Delba", "hours": 1.0, "created": "2025-07-21T09:59:21.395Z", "log_date": "2025-07-17", "comment": "Imported from GitLab by @Waliyuddin Delba on 2025-07-21T09:59:21.395Z: 1h-(1.0)h spend at: 2025-07-17", "status": "active", "deleted_by": "", "redmine_entry_id": 9963}]