{{ $survey->title }}
{{ $survey->description }}
{{ $survey->questions->count() }}
Questions
{{ $survey->responses->count() }}
Responses
@php
$totalInvitations = $survey->invitations ? $survey->invitations->count() : 0;
$responseRate = $totalInvitations > 0 ? round(($survey->responses->count() / $totalInvitations) * 100, 1) : 0;
@endphp
{{ $responseRate }}%
Response Rate
{{ ucfirst($survey->status) }}
Status
{{ $responseRate }}%
Completion Rate
{{ session('success') }}
@endif
@if(session('invitation_links') && count(session('invitation_links')) > 0)
Invitation Links Ready
{{ count(session('invitation_links')) }} generated
@foreach(session('invitation_links') as $inviteLink)
@endforeach
Send any of these links on WhatsApp. When tapped, the recipient opens the survey directly.
Survey Questions
@forelse($survey->questions as $index => $question)
@if($question->type === 'multiple_choice' && $question->options)
@php
$options = is_string($question->options) ? json_decode($question->options, true) : $question->options;
@endphp
@if(is_array($options) && count($options) > 0)
@empty
@endforelse
{{ $index + 1 }}
{{ $question->question }}
{{ ucfirst(str_replace('_', ' ', $question->type)) }}
@if($question->is_required)
Required
@endif
Options:
@endif
@endif
@if($question->type === 'rating')
@foreach($options as $option)
@endforeach
{{ $option }}
Rating Scale:
@endif
@for($i = 1; $i <= 5; $i++)
{{ $i }}
@endfor
No questions added yet
This survey doesn't have any questions.
Survey Information
Status
{{ ucfirst($survey->status) }}
Created
{{ $survey->created_at->format('M j, Y g:i A') }}
@if($survey->expires_at)
Expires
{{ $survey->expires_at->format('M j, Y') }}
@if($survey->expires_at->isPast())
Expired
@else
Active
@endif
@endif
Questions
{{ $survey->questions->count() }}
Responses
{{ $survey->responses->count() }}
@if($survey->allow_anonymous)
Anonymous Responses Allowed
@endif
Shareable Survey Link
Use this link for WhatsApp sharing. If invitation links exist, tokenized link is used.
@php
$appHost = parse_url((string) config('app.url'), PHP_URL_HOST);
@endphp
@if(in_array($appHost, ['127.0.0.1', 'localhost', '[::1]'], true))
This site is configured as {{ config('app.url') }}. Links only work on this computer unless you deploy to a public URL and set
@endif
APP_URL in .env (or use a tunnel such as ngrok).
Share Survey
Share this survey with guests, staff, or clients
Recent Responses
View All
@if($survey->responses->count() > 0)
@foreach($survey->responses->take(5) as $response)
@if($response->answers->count() > 0)
@endforeach
@else
@endif
{{ $response->guest ? substr($response->guest->name ?? 'G', 0, 1) : 'A' }}
{{ $response->guest ? $response->guest->name : 'Anonymous' }}
@if($response->guest && $response->guest->room_number)
(Room {{ $response->guest->room_number }})
@endif
{{ $response->created_at->diffForHumans() }}
{{ $response->answers->count() }} answers
Latest answer:
@endif
{{ Str::limit($response->answers->last()->answer, 100) }}
No responses yet
Share your survey to start collecting responses