@extends('layouts.admin') @section('title', $survey->title) @section('header', $survey->title) @section('subheader', 'Survey Details') @section('header-actions')
{{ $invitationStats['total'] }}
Total Invited
{{ $invitationStats['completed'] }}
Completed
{{ $invitationStats['pending'] }}
Pending
{{ $invitationStats['total'] > 0 ? round(($invitationStats['completed'] / $invitationStats['total']) * 100) : 0 }}%
Response Rate
{{ $survey->description ?? 'No description provided' }}
{{ $survey->estimated_minutes ?? 10 }} minutes
{{ $survey->created_at->format('F j, Y') }}
@if($survey->status === 'active') Active @elseif($survey->status === 'draft') Draft @else Closed @endif
Response limit reached - Survey closed
@else{{ $survey->getRemainingResponses() }} responses remaining
@endifCollecting responses
@elseif($survey->status === 'draft')Not yet published
@elseNo longer accepting
@endifShare this link to collect responses