feat(projects): show task logged vs approved hours (MAPPS-167) #162
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-167-task-logged-hours"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
MAPPS-167: logged time wasn't showing up on project tasks. Root cause: a task's hours rollup counts only
approval_status = 'approved'entries, but newly logged entries start asdraft, so logged time was invisible until submitted and approved.Per the chosen behavior (show logged vs approved separately), PMS-329 added a server
logged_hoursfield on the task response - the sum of all NON-rejected time linked to the task (draft + pending + approved) - kept distinct fromactual_hours(approved-only). This PR surfaces both on the client.RemoteTaskgainslogged_hours.Notes
logged_hoursSUM filtersapproval_status <> 'rejected',actual_hoursunchanged, both list-tasks and get-task return it.actual_hours(approved) semantics unchanged.Test plan