@extends('layouts.app') @section('title', 'Feedback Review') @push('styles') @endpush @section('content') {{-- Filters --}}
@if(request()->hasAny(['project_id','search'])) Clear @endif {{ $responses->total() }} result{{ $responses->total() !== 1 ? 's' : '' }}
All Submissions Page {{ $responses->currentPage() }} of {{ $responses->lastPage() }}
@if($responses->count())
@foreach($responses as $i => $response) @endforeach
# Project Respondent Type Collected By Location Points Flags Submitted
{{ ($responses->currentPage()-1)*$responses->perPage()+$i+1 }} {{ $response->project->name }} {{ $response->respondentType->name }}
{{ $response->employeeCollector?->employee_name ?? ($response->collector?->name ?? '—') }}
{{ $response->employeeCollector?->department ?? '' }}
{{ $response->employeeCollector?->location ?? '—' }} {{ $response->feedbackScore?->points_awarded ?? 1 }} @php $score = $response->feedbackScore; @endphp @if($score?->is_ceo_choice) CEO @elseif($score?->is_implementable) Impl. @elseif($score?->is_valuable) Valuable @else @endif
{{ $response->submitted_at?->format('d M Y') }}
{{ $response->submitted_at?->format('h:i A') }}
Review
@if($responses->hasPages())
Showing {{ $responses->firstItem() }}–{{ $responses->lastItem() }} of {{ $responses->total() }} {{ $responses->links() }}
@endif @else

No feedback submissions found matching your filters.

@endif
@endsection