@extends('user.layouts.app') @section('title','Dashboard') @section('page-title') Welcome back, {{ auth()->user()->first_name }} 👋 @endsection @section('page-subtitle','Here is what is happening with your conference activities.') @section('content') @if(session('success'))
{{ session('success') }}
@endif @include('user.partials.paper-review-access', ['paperReviewAccess' => $paperReviewAccess ?? collect()])
My Conferences

{{ $stats['conferences'] }}

Registered
My Papers

{{ $stats['papers'] }}

Submitted
Presentations

{{ $stats['uploadedPresentations'] }}

{{ $stats['acceptedPapersNeedingUpload'] + ($stats['speakerAssignmentsNeedingUpload'] ?? 0) }} need upload
Resources

{{ $stats['availableResources'] }}

Available docs
@if($recentRegistrations->isNotEmpty()) @php $latest = $recentRegistrations->first(); @endphp
My Conference: {{ $latest->conference->name }}

{{ $latest->conference->short_name ?? $latest->conference->name }}

{{ $latest->conference->theme }}

Date
{{ $latest->conference->start_date?->format('M d') }} - {{ $latest->conference->end_date?->format('M d, Y') }}
Venue
{{ $latest->conference->venue }}
Status
{{ ucfirst($latest->payment_status) }}
@include('user.partials.important-dates', [ 'importantDates' => $latest->conference->importantDates(), 'conference' => $latest->conference, ]) @include('user.partials.conference-flyer', ['conference' => $latest->conference]) @endif @if(isset($downloadableCertificates) && $downloadableCertificates->isNotEmpty())
Your Certificates

{{ $downloadableCertificates->count() }} certificate(s) ready for download.

    @foreach($downloadableCertificates->take(3) as $cert)
  • {{ $cert->certificateType?->name }} {{ $cert->conference?->name }} View
  • @endforeach
View All Certificates
@elseif(isset($userCertificates) && $userCertificates->isNotEmpty())
Certificates

You have {{ $userCertificates->count() }} certificate(s) on record.

@if(($pendingCertificateCount ?? 0) > 0)

{{ $pendingCertificateCount }} awaiting download activation.

@endif My Certificates
@endif @if(isset($speakerAssignments) && $speakerAssignments->isNotEmpty())
Speaker Assignments

You are assigned as a speaker for {{ $speakerAssignments->count() }} conference(s). Upload your title, slides, and document from My Presentations.

    @foreach($speakerAssignments->take(3) as $assignment)
  • {{ $assignment->conference?->name }} {{ $assignment->presentation_title ?? 'Title not set yet' }} @if($assignment->hasUploadedMaterials()) View @else Upload @endif
  • @endforeach
My Presentations
@endif
Recent Notifications
@forelse($recentNotifications as $notification)
@if(str_contains(strtolower($notification->title), 'certificate')) {{ $notification->title }} @elseif(str_contains(strtolower($notification->title), 'speaker')) {{ $notification->title }} @else {{ $notification->title }} @endif {{ $notification->created_at->diffForHumans() }}
@empty
No notifications yet.
@endforelse
@if(isset($virtualAccessRegistrations) && $virtualAccessRegistrations->isNotEmpty())
Virtual Conference Access
@foreach($virtualAccessRegistrations as $vReg)

{{ $vReg->conference->name }}

Join Virtual Conference @endforeach
@endif
Account Summary

Pending payments: {{ $pendingPayments }}

Total registrations: {{ $stats['conferences'] }}

@if($stats['pastConferenceDocuments']->isNotEmpty())
Past Conference Documents
    @foreach($stats['pastConferenceDocuments'] as $doc)
  • {{ $doc->title }} ({{ $doc->conference->name }}) Download
  • @endforeach
@endif
@endsection