{{-- Extends layout --}} @extends('layouts.default') {{-- Styles Section --}} @section('styles') Ivrfai | Health Report Details @endsection {{-- Content --}} @section('content') @include('layouts.header')
User Avatar

{{ $surveys->first_name }} {{ $surveys->last_name }}

{{ $surveys->type }}

Ph no: {{ $surveys->mobile }}

@if($surveys->severity == "GREEN")

CURRENT STATUS : SAFE

@elseif($surveys->severity == "RED")

CURRENT STATUS : UNSAFE

@else

CURRENT STATUS : NOT DONE

@endif

Last verified on
{{ strftime("%d %b %Y",strtotime($surveys->survey_end)) }}

LAST REPORT

@if(isset($surveys)) @if($answers) @foreach($answers as $answer) @if(strlen($answer->question_answer) >=20 ) @else @endif @endforeach @endif @endif
{{ $answer->text ?? '' }}View{{ $answer->question_answer }}

REPORT HISTORY

@if(isset($orders)) @foreach($orders as $order) @if($order->employee_id == $employee_id) @if($n > 5)@continue @endif @if($order->severity=="GREEN") @elseif($order->severity=="RED") @else @endif @endif @endforeach @endif
{{ strftime("%d %b %Y",strtotime($order->created_at)) }}SAFEUNSAFENOT DONE
@endsection @section('scripts') @if (app()->isLocal()) @else @endif @endsection