@extends('layouts.parent') @section('title', 'Parent Surveys - Kidscholl') @section('styles') @endsection @section('content')

Parent Survey Participation

Help us improve school facilities and teaching by sharing your valuable feedback.

Total Surveys: {{ count($surveys) }}
@forelse($surveys as $srv) @php $isCompleted = in_array($srv->id, $respondedSurveyIds); @endphp
{{ $srv->title }}

{{ $srv->description }}

End Date: {{ $srv->end_date ? \Carbon\Carbon::parse($srv->end_date)->format('d M Y') : 'Ongoing' }}
@if($isCompleted) Responses Submitted @else Fill Survey @endif
@empty
No Active Surveys

No feedback surveys are currently assigned to your child's class.

@endforelse
@endsection