@php $user = auth()->user(); @endphp

Recent Species Surveys

View All
@forelse($recentSurveys as $survey) @empty @endforelse
Image Species Name Contributor Location Gear Date
@if($survey->image_url) Survey Image @else
@endif
{{ $survey->species_name }}
ID: {{ $survey->species_id }}
{{ $survey->user_name }}
{{ $survey->user->email ?? '' }}
{{ $survey->state_name }}
{{ $survey->landing_center_name }}
{{ $survey->gear_name }}
{{ $survey->created_at->format('d M Y') }}
{{ $survey->created_at->format('h:i A') }}
No species survey records found.

Top Contributors

@forelse($topContributors as $index => $contributor)
{{ strtoupper(substr($contributor->name, 0, 2)) }}
{{ $contributor->name }}
{{ $contributor->state->name ?? 'No State' }}
{{ $contributor->surveys_count }} surveys
@empty
No contributors found.
@endforelse

Surveys by State

@forelse($surveysByState as $stateSurvey) @php $percentage = $totalSurveys > 0 ? round(($stateSurvey->count / $totalSurveys) * 100) : 0; @endphp
{{ $stateSurvey->state_name ?: 'Unknown State' }} {{ $stateSurvey->count }} ({{ $percentage }}%)
@empty
No state distribution records found.
@endforelse

Surveys by Gear

@forelse($surveysByGear as $gearSurvey) @php $percentage = $totalSurveys > 0 ? round(($gearSurvey->count / $totalSurveys) * 100) : 0; @endphp
{{ $gearSurvey->gear_name ?: 'Unknown Gear' }} {{ $gearSurvey->count }} ({{ $percentage }}%)
@empty
No gear distribution records found.
@endforelse