Summary
Platform admins have no in-app interface to review and approve seller invoices before they go live. An admin-only review page should list all invoices in the pending_review state with approve and reject buttons and an optional rejection reason input.
Scope
- Fetch all
pending_review invoices from the admin endpoint on page mount
- Display each invoice with title, seller wallet (truncated), face value, and submission date
- 'Approve' button transitions the invoice to
published and removes it from the list
- 'Reject' button opens an inline text input for the rejection reason before confirming
- Redirect non-admin wallets to the home page with a 'Not authorised' toast
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Platform admins have no in-app interface to review and approve seller invoices before they go live. An admin-only review page should list all invoices in the
pending_reviewstate with approve and reject buttons and an optional rejection reason input.Scope
pending_reviewinvoices from the admin endpoint on page mountpublishedand removes it from the listAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram