1.0 ADMINISTRATIVE INFORMATION
1.1 Audit Number: {{ $occurrence != null && $occurrence->audit_number != null ? $occurrence->audit_number : '' }}
1.2 Audit Date: {{ $occurrence != null && $occurrence->start_date != null ? $occurrence->start_date : '' }}{{ $occurrence != null && $occurrence->end_date != null ? ' to '.$occurrence->end_date : '' }}
1.3 Audit Title: {{ $occurrence != null && $occurrence->title != null ? $occurrence->title : '' }}
1.4 Location: {{ $occurrence != null && $occurrence->location != null ? $occurrence->location : '' }}
@for($i=0;$iquestion_json != null ? json_decode($action->question_json) : null) @if( $action->section != null) @endif
{{ $action->section }}
{!! $action_details != null ? $action_details->question : '' !!}
@if($whys != null) @if(count($whys) > 0) @foreach($whys as $why) @php($thewhys = json_decode($why->why_json)) @if(count($thewhys) > 0) @foreach($thewhys as $key=>$thewhy) @endforeach @endif
1. FINDING:
{!! $action != null ? $action->description : '' !!}
2. 5 WHY'S MODEL - ASK WHY UNTIL YOU HAVE REACHED THE TRUE ROOT CAUSE
WHY {{ $key+1 }}:
{!! $thewhy->why_item != null ? $thewhy->why_item : '' !!}
3. ROOT CAUSE
{!! $why->root_cause != null ? $why->root_cause : '' !!}
5 WHY'S & ROOT CAUSE APPROVAL
{{ $why->action_status != null ? $why->action_status : '' }}
Signature : {{ $why->actioned_by != null ? $why->actioned_by : '' }} Date : {{ $why->action_notes != null ? $why->updated_at : '' }}
COMMENTS/remarks : {!! $why->action_notes != null ? $why->action_notes : '' !!}
@endforeach @endif @endif 4. CORRECTIVE ACTION PLAN (CAP): @if($caps != null) @if(count($caps) > 0) @foreach($caps as $cap) {!! $cap->ca_plan_text != null ? $cap->ca_plan_text : '' !!} CAP APPROVAL
{{ $cap->action_status != null ? $cap->action_status : '' }}
Signature : {{ $cap->actioned_by != null ? $cap->actioned_by : '' }} Date : {{ $cap->action_notes != null ? $cap->updated_at : '' }}
COMMENTS/remarks : {!! $cap->action_notes != null ? $cap->action_notes : '' !!}
@endforeach @endif @endif FINAL ACTION TAKEN (FAT): @if($fats != null) @if(count($fats) > 0) @foreach($fats as $fat) {!! $fat->fa_plan_text != null ? $fat->fa_plan_text : '' !!} FAT APPROVAL
{{ $fat->action_status != null ? $fat->action_status : '' }}
Signature : {{ $fat->actioned_by != null ? $fat->actioned_by : '' }} Date : {{ $fat->action_notes != null ? $fat->updated_at : '' }}
COMMENTS/remarks : {!! $fat->action_notes != null ? $fat->action_notes : '' !!}
@endforeach @endif @endif @endfor