Fix logic flaws in Partners page: Add separate KYC tab, fix search/filters, add Partner form

This commit is contained in:
CycroftX
2026-02-03 20:50:07 +05:30
parent 1e0845c4be
commit c616c260aa
5 changed files with 384 additions and 15 deletions

View File

@@ -87,6 +87,29 @@ export const mockPartners: Partner[] = [
},
tags: ['Corporate', 'High Value'],
joinedAt: subDays(new Date(), 5).toISOString(),
verificationStatus: 'Verified',
},
{
id: 'p5',
name: 'New Age Vendors',
type: 'Vendor',
status: 'Active',
logo: '',
primaryContact: {
name: 'John Doe',
email: 'john@newage.com',
role: 'Owner'
},
metrics: {
activeDeals: 0,
totalRevenue: 0,
openBalance: 0,
lastActivity: new Date().toISOString(),
eventsCount: 0,
},
tags: ['New'],
joinedAt: new Date().toISOString(),
verificationStatus: 'Pending',
}
];