Survey Date: {{ $entry->created_at->format('Y-m-d H:i:s') }}
Total Points: {{ $temp['user_result'] }}
According to our Survey, there are @if($temp['user_result'] >= 0 && $temp['user_result'] <= 16) No symptoms of PTSD. @elseif($temp['user_result'] >= 17 && $temp['user_result'] <= 20) No to minimum symptoms of PTSD. @elseif($temp['user_result'] >= 21 && $temp['user_result'] <= 29) Mild symptoms of PTSD. @elseif($temp['user_result'] >= 30 && $temp['user_result'] <= 49) Moderate symptoms of PTSD. @elseif($temp['user_result'] >= 50) Severe symptoms of PTSD. @else Invalid score. @endif
Name: {{ $entry->participant->first_name . ' ' . $entry->participant->last_name }}
Gender: {{ $entry->participant->gender }}
Email: {{ $entry->participant->email }}
Phone Number: {{ $entry->participant->phone_number }}
For your reference:
'Not at all' => 1
'A little bit' => 2
'Quite often' => 3
'Moderately' => 4
'Quite a bit' => 5
@elseNo survey results available.
@endif