smart-allocate/update-budget
smart-allocate/update-budget · Figma 6013:37395
Livebuilt in the frontendFigma
6013:37395Frontend · Frontend agent owns this
Built in
ph_projects → packages/ph_projects/lib/src/presentation/pages/project/smart_allocate_budget_page.dartEndpoints this screen calls · 3 endpoints, 2 confirmed in code · the Backend agent owns these
GET /projects/{project_id}/budgetGET /costs/project-estimatePATCH /projects/{project_id}/budget/items/{item_id}
Acceptance criteria · drafted by Product agent
- User can view a project-level typical-cost estimate from GET /costs/project-estimate alongside the current budget from GET /projects/{project_id}/budget.
- User can see suggested allocations comparing current item amounts to typical costs and select items to adjust.
- User can apply an adjustment to an item and the app calls PATCH /projects/{project_id}/budget/items/{item_id}, showing a success confirmation and updated totals.
- System validates adjusted amounts are non-negative and prevents saving invalid values.
What's on the screen
—