@extends('layouts.researcher')
@section('title', 'Dashboard Overview')
@section('content')
@if(session('success'))
@endif
@if(session('error'))
@endif
@php
$kycStatus = Auth::user()->kyc_status ?? 'unsubmitted';
@endphp
@if($kycStatus === 'unsubmitted')
Action Required: Verify Your Identity
You must complete KYC verification to publish surveys and access researcher features.
Complete KYC Now
@elseif($kycStatus === 'pending')
Verification Pending
Your identity verification is currently under review by our admin team. This usually takes less than 24 hours.
@elseif($kycStatus === 'rejected')
Verification Rejected
Your KYC submission was rejected. Please review the requirements and submit again to unlock your account.
Resubmit KYC
@endif
Welcome back, {{ Auth::user()->name }}!
Here is a summary of your active research projects and wallet analytics.
Available Escrow Wallet
Funds are automatically locked in escrow when publishing new studies.
@forelse($recentSurveys ?? [] as $survey)
{{ $survey->title }}
{{ ucfirst($survey->status) }}
Created {{ $survey->created_at->diffForHumans() }}
{{ $survey->responses_count ?? 0 }}
responses
@empty
No surveys created yet. Click "New Survey" to get started.
@endforelse