@foreach ($case->root_cause_analysis as $key => $root_cause_analysis)
@if($root_cause_analysis->type == 'fish_bone')
@if($root_cause_analysis->note)
@if($root_cause_analysis->type == 'fish_bone')
@else
@endif
@endforeach
Status: @if($root_cause_analysis->status == 1)Completed @elseif($root_cause_analysis->status == 2)Requested Again @else Requested @endif
@if(!$root_cause_analysis->status)
type == 'fish_bone') data-bs-target="#edit_fish_bone_{{$root_cause_analysis->id}}" @else data-bs-target="#five_whys_bone_{{$root_cause_analysis->id}}" @endif @if($case->case_closed) style="display:none" @endif title="Edit request {{$root_cause_analysis->type}}">Edit
@endif
Problem
{{$root_cause_analysis->name}}
Editable : @if($root_cause_analysis->is_editable) Yes @else No @endif
Editable : @if($root_cause_analysis->is_editable) Yes @else No @endif
@if($root_cause_analysis->type == 'fish_bone')
Fish Bones
@endif
@if($root_cause_analysis->type == 'fish_bone')
@foreach($root_cause_analysis->fish_bone_questions as $question)
{{$question->question}}
@endforeach
@else
@foreach ($root_cause_analysis->five_whys_questions as $question)
{{$question->question}}
@endforeach
@endif
@if($root_cause_analysis->note)
Comment
@endif
@if ($root_cause_analysis->status)
{{$root_cause_analysis->note}}
{{$root_cause_analysis->root_cause_analysis_type}}
Completed By : {{$root_cause_analysis->user->name}}
Submitted Time : {{$root_cause_analysis->updated_at->format(config('app.dateFormat'))}} {{$root_cause_analysis->updated_at->format('H:i:s')}}
@endif
Edit Fish Bone
{{--
--}} Edit Five Whys
{{$root_cause_analysis->root_cause_analysis_type}}
Time of request : {{$root_cause_analysis->created_at->format(config('app.dateFormat'))}}
Request Again