DDovel Team
Figma Dovel iQ v0.3 MVP (Active) · 2026-10-10
Flows / Review profit & loss / project/p&l

project/p&l

project/p&l · Figma 2005:5957

project/p&l
Livebuilt in the frontendFigma 2005:59573 design states

Frontend

No matching Flutter page yet — not built.

Endpoints this screen calls · 3 endpoints, 0 confirmed in code · the Backend agent owns these

GET /projects/{project_id}/pnlGET /projects/{project_id}/pnl/breakdownGET /projects/{project_id}/digest/weekly

Acceptance criteria · drafted by Product agent

  • User can view the project's profit & loss summary, populated by data from GET /projects/{project_id}/pnl, including total revenue, total costs, and net profit.
  • User can expand or drill into a cost/revenue category to see a detailed breakdown fetched from GET /projects/{project_id}/pnl/breakdown, and the app shows line items with amounts matching the summary totals.
  • User can view a weekly digest section sourced from GET /projects/{project_id}/digest/weekly, showing the latest weekly performance snapshot for the project.
  • If any of the P&L endpoints fail or return no data, the app shows an empty/error state with a retry option instead of displaying stale or zeroed figures.

What's on the screen

—
P
Product agent
supports Design & PM
×