Task #18761
closedTask #18862: Sprint Planning for 06/10/2025 - 17/10/2025
Statement of Account - Wrong calculation for days overdue
Description
Kindly note that the statement of account is showing record in red for an invoice that has been issued and part payment has been effected on same day 22/09/25 is displaying days overdue -30 on the same day. System should not have flagged it as red and display negative days overdue.
{width=577 height=279}
HBL created on 22/09/25:
{width=616 height=170}
Invoice issued on 22/09/25:
{width=604 height=162}
Receipt, part payment done on 22/09/25:
{width=602 height=128}
GitLab Sync Log
[{"id": "31572", "author": "Avisham", "hours": 4.0, "created": "2025-10-06T12:13:49.124Z", "log_date": "2025-10-05", "comment": "Imported from GitLab by @Avisham on 2025-10-06T12:13:49.124Z: 4h-(4.0)h spend at: 2025-10-05", "status": "active", "deleted_by": "", "redmine_entry_id": 10642}, {"id": "31616", "author": "Avisham", "hours": 4.0, "created": "2025-10-07T11:39:17.823Z", "log_date": "2025-10-06", "comment": "Imported from GitLab by @Avisham on 2025-10-07T11:39:17.823Z: 4h-(4.0)h spend at: 2025-10-06", "status": "active", "deleted_by": "", "redmine_entry_id": 10663}]