📍 Page Location
URL: /manage-contract/:contractId
📸 Visual Representation of the Page
Step 6: Act as Supplier - Upload Documents
Visual representation of Step 6: Act as Supplier - Upload Documents
This page shows: Same document upload interface. Trader uploads documents as supplier would....
🎨 Detailed Visual Description
Same document upload interface. Trader uploads documents as supplier would.
Key Visual Elements:
- Document upload
- Multiple files
- File validation
⚙️ Backend Process
API Endpoint: POST /api/contracts/:contractId/documents
Process Flow:
1. Validates trader is supplierEmail
2. Stores documents
3. Updates contract.documentsUploadedDatabase Operations:
- Table:
database.documents, database.contracts - Action: Upload documents as supplier
➡️ Next Action
Documents uploaded, buyer can release payment