Task #17646
openTask #16440: Ocean Sprint Planning for 17/03/2025 - 01/04/2025
Receipt: request to add outstanding amount on receipt
100%
Description
During the training, the FFWDs have requested the following:
- For all payment receipts, display the remaining amount of the particular invoice in the receipt.
Remaining Amount = Invoice Amount - Total Paid Amount for that particular Invoice
- Full Payment → Remaining amount should be 0.
- Partial Payment → Remaining amount should be displayed and updated after each payment recorded.
If the invoice is fully paid, the remaining amount should be 0 and marked as Paid in Full.
For the invoice List shown below:
{width="1360" height="336"}
-
If an invoice is past its due date, highlight the row in red for easy identification.
-
To be able to apply this rule, a new textbox, <Overdue Threshold (Days)>, should be added to the configuration screen under the invoice information section. The user should enter whole numbers (e.g., 30) to define the allowable overdue period in days.
{width=765 height=173}
-
-
If an invoice is partially paid but overdue, highlight it in orange.
-
The same should be applied to the Invoice/Receipts report.
GitLab Sync Log
[{"id": "18907", "author": "Vikram Jhurry", "hours": 14.4, "created": "2025-03-24T06:28:34.098Z", "log_date": "2025-03-24", "comment": "Imported from GitLab by @Vikram Jhurry on 2025-03-24T06:28:34.098Z: 1d 6h 24m-(14.4)h spend at: 2025-03-24", "status": "active", "deleted_by": "", "redmine_entry_id": 9028}, {"id": "17673", "author": "Avisham", "hours": 2.0, "created": "2025-03-10T05:17:52.365Z", "log_date": "2025-03-06", "comment": "Imported from GitLab by @Avisham on 2025-03-10T05:17:52.365Z: 2h-(2.0)h spend at: 2025-03-06", "status": "active", "deleted_by": "", "redmine_entry_id": 9029}]