Problem
No order history or order management page exists anywhere in the frontend. After an order is placed, there is no UI to view it, update its status, or see the associated blockchain transaction hash. The backend entities and Soroban order contract track a full order lifecycle (Pending ? Confirmed ? Preparing ? Ready ? Delivered ? Cancelled), but none of this is surfaced in the UI.
Proposed Solution
Create frontend/app/(auth)/admin/orders/page.tsx with:
Table columns: Order ID, Customer, Items summary, Total, Status badge, Created At, Stellar Tx Hash
Features:
- Status filter tabs: All | Pending | Confirmed | Preparing | Ready | Delivered | Cancelled
- Status advance button per row respecting the logged-in user's role
txHash cell links to https://stellar.expert/explorer/testnet/tx/{hash} when present
- Pagination (20 orders per page)
- Mobile-responsive horizontal scroll
Acceptance Criteria
Problem
No order history or order management page exists anywhere in the frontend. After an order is placed, there is no UI to view it, update its status, or see the associated blockchain transaction hash. The backend entities and Soroban order contract track a full order lifecycle (Pending ? Confirmed ? Preparing ? Ready ? Delivered ? Cancelled), but none of this is surfaced in the UI.
Proposed Solution
Create
frontend/app/(auth)/admin/orders/page.tsxwith:Table columns: Order ID, Customer, Items summary, Total, Status badge, Created At, Stellar Tx Hash
Features:
txHashcell links tohttps://stellar.expert/explorer/testnet/tx/{hash}when presentAcceptance Criteria