📍 Page Location
URL: /dashboard/authenticated
📸 Visual Representation of the Page
Step 8: Dual Contract Management
TRADER🔔 Notifications
My Contracts (Dual Role)
| Contract ID | My Role | Product | Status | Actions |
|---|---|---|---|---|
| contract-001 | BUYER | Wheat | PENDING DEPOSIT | |
| contract-002 | SUPPLIER | Rice | PENDING CONFIRMATION |
🎨 Detailed Visual Description
"Dual Contract" button opens special view showing both buyer and supplier perspectives of the same contract. Trader can perform actions from either role.
Key Visual Elements:
- Dual perspective view
- Role switching
- Unified management
⚙️ Backend Process
API Endpoint: GET /api/contracts/:contractId
Process Flow:
1. Returns contract with both buyer and supplier actions
2. Shows trader permissions for both roles
3. Enables dual managementDatabase Operations:
- Table:
database.contracts - Action: Query contract with dual role data
➡️ Next Action
Trader manages complete trade lifecycle