@extends('layouts.app') @section('title', 'My Submissions') @push('styles') @endpush @section('content')

Submission History

{{ $responses->total() }} total submission{{ $responses->total() !== 1 ? 's' : '' }}
@if($responses->count())
@foreach($responses as $i => $response) @endforeach
# Project Respondent Location Language Points Recognition Submitted
{{ ($responses->currentPage() - 1) * $responses->perPage() + $i + 1 }}
{{ $response->project->name }}
{{ $response->respondentType->name }}
@if($response->employeeCollector)
{{ $response->employeeCollector->respondent_name ?? '—' }}
@if($response->employeeCollector->respondent_phone) {{ $response->employeeCollector->respondent_phone }} @endif
@else @endif
{{ $response->employeeCollector?->location ?? '—' }} @if($response->language === 'bn') 🇧🇩 বাংলা @else 🇬🇧 English @endif {{ $response->feedbackScore?->points_awarded ?? 1 }} @php $score = $response->feedbackScore; @endphp @if($score?->is_ceo_choice) CEO Choice @elseif($score?->is_implementable) Implementable @elseif($score?->is_valuable) Valuable @else Pending review @endif
{{ $response->submitted_at?->format('d M Y') ?? '—' }}
{{ $response->submitted_at?->format('h:i A') ?? '' }}
{{-- Pagination --}} @if($responses->hasPages())
Showing {{ $responses->firstItem() }}–{{ $responses->lastItem() }} of {{ $responses->total() }} {{ $responses->links() }}
@endif @else

You haven't submitted any surveys yet. Start by choosing a project below.

Explore Projects
@endif
@endsection