transaction-details/new
transaction-details/new · Figma 4743:74186
Livebuilt in the frontendFigma
4743:74186Frontend · Frontend agent owns this
Built in
ph_projects → packages/ph_projects/lib/src/presentation/pages/project/transaction_details_new_page.dartEndpoints this screen calls · 3 endpoints, 2 confirmed in code · the Backend agent owns these
GET /projects/{project_id}/transactions/{transaction_id}POST /projects/{project_id}/transactions/{transaction_id}/receiptPOST /projects/{project_id}/transactions/{transaction_id}/categorize
Acceptance criteria · drafted by Product agent
- User can view full transaction details (amount, date, merchant, project) via GET /projects/{project_id}/transactions/{transaction_id}.
- User can attach or replace a receipt; on submit the app calls POST /projects/{project_id}/transactions/{transaction_id}/receipt and shows the uploaded receipt in the details view.
- User can assign a category; on submit the app calls POST /projects/{project_id}/transactions/{transaction_id}/categorize and reflects the chosen category immediately.
- If the transaction fetch fails, the screen shows an error state with a retry action and no editable fields.
What's on the screen
—