diff --git a/src/app/admin/kyc/page.tsx b/src/app/admin/kyc/page.tsx index c90a94e..c55e878 100644 --- a/src/app/admin/kyc/page.tsx +++ b/src/app/admin/kyc/page.tsx @@ -11,7 +11,7 @@ import { } from 'lucide-react'; export type ApplicationSource = 'app' | 'web' | 'walkin' | 'referral'; -export type KYCType = 'biker' | 'investor' | 'shop' | 'merchant' | 'general'; +export type KYCType = 'biker' | 'investor' | 'swapstation' | 'merchant' | 'general'; export type RiderPlan = 'daily_rent' | 'weekly_rent' | 'monthly_rent' | 'rent_to_own' | 'share_ev'; export type VerificationStage = 'application' | 'document_collection' | 'risk_check' | 'plan_selection' | 'payment' | 'agreement' | 'allocated' | 'active'; @@ -155,7 +155,7 @@ const mockRequests: Request[] = [ name: 'Jamal Store', phone: '01712345680', email: 'jamal@shop.com', - type: 'shop', + type: 'swapstation', status: 'under_review', verificationStage: 'plan_selection', submittedAt: '2024-03-18', @@ -303,14 +303,14 @@ const planLabels: Record = { const typeIcons: Record = { biker: Bike, investor: DollarSign, - shop: Store, + swapstation: Store, merchant: Users, }; const typeColors: Record = { biker: 'bg-blue-100 text-blue-700', investor: 'bg-purple-100 text-purple-700', - shop: 'bg-green-100 text-green-700', + swapstation: 'bg-green-100 text-green-700', merchant: 'bg-orange-100 text-orange-700', general: 'bg-slate-100 text-slate-700', }; @@ -323,7 +323,7 @@ const sourceIcons: Record = { }; export default function RequestsPage() { - const [activeTab, setActiveTab] = useState<'all' | 'biker' | 'investor' | 'shop' | 'merchant'>('all'); + const [activeTab, setActiveTab] = useState<'all' | 'biker' | 'investor' | 'swapstation' | 'merchant'>('all'); const [requests, setRequests] = useState(mockRequests); const [searchQuery, setSearchQuery] = useState(''); const [statusFilter, setStatusFilter] = useState('all'); @@ -535,10 +535,10 @@ export default function RequestsPage() { Investors )} - {request.type === 'shop' && request.status === 'under_review' && ( + {request.type === 'swapstation' && request.status === 'under_review' && ( )} - {selectedRequest.type === 'shop' && ( + {selectedRequest.type === 'swapstation' && (