Statement
Hello
We need your account of events regarding an incident that was reported
| Date | Requested From | From | Days Since | Status | Note |
|---|---|---|---|---|---|
| {{$requested_information->created_at->format(config('app.dateFormat'))}} | {{$requested_information->user->name}} | {{$requested_information->case->case_head_office->company_name}} | {{$requested_information->created_at->diff(\Carbon\Carbon::now())->days}} | @if($requested_information->status == 0) Waiting @else Submited @endif | {{$requested_information->note}} |
@foreach($requested_information->case->link_case_with_form->form->stages as $key=>$stage)
@endforeach
@endforeach
{{-- @foreach($case->link_case_with_form->data as $data)
@if($data->question)
@endif @endforeach --}}
{{$stage->stage_name}}
@foreach($stage->groups as $gk => $group){{$group->group_name}}
@foreach($group->questions as $question)
@php $value = $requested_information->case->link_case_with_form->data->where('question_id',$question->id)->first() ; @endphp
@if($value && $value->radact)
@endif
@endforeach
{{$data->question->question_name}}: {{$data->question_value}}
@endif @endforeach --}}