SECURITY INCIDENT REPORT

Incident Reference: {!! (!empty($task->ref_no)) ? $task->ref_no : $id !!}
Classification: {!! $task->taskCategory->name !!}
Site: {!! $site->name !!}
Site Address: {!! $site->address_line_1.((!empty($site->zipcode)) ? ' | Singapore: '.$site->zipcode : '') !!}
@if (env('COMPANY_ID') == 76 && !empty($lat) && !empty($long) && env('GOOGLE_API_KEY'))
@endif

Details of Report and Findings:

What Happened: {!! $task->title !!}
When Did It Happen: {!! showDate($task->start_date) !!} {!! showTime($task->start_date) !!}
Where Did It Happen: {{ $custom_fields['incident-location'] }}
Who Was Involved: {{ $custom_fields['person-involve'] }}
@if(array_key_exists('incident-description', $custom_fields))

Description of Incident (How and Why):

@if(empty($custom_fields['incident-description'])) @else @endif
{!! $custom_fields['incident-description'] !!}
@endif @if(array_key_exists('how-did-it-happen-', $custom_fields))

How Did It Happen?

@if(empty($custom_fields['how-did-it-happen-'])) @else @endif
{!! $custom_fields['how-did-it-happen-'] !!}
@endif @if(array_key_exists('why-did-it-happen-', $custom_fields))

Why Did It Happen?

@if(empty($custom_fields['why-did-it-happen-'])) @else @endif
{!! $custom_fields['why-did-it-happen-'] !!}
@endif

Immediate Action Taken:

@if(empty($custom_fields['actions-taken'])) @else @endif
{!! $custom_fields['actions-taken'] !!}

Remarks:

@if(empty($custom_fields['remarks'])) @else @endif
{!! $custom_fields['remarks'] !!}

@if(!empty($custom_fields['security-implication-'])) @if(!empty($custom_fields['implication-details'])) @endif
Is There Any Security Implication Due To The Incident? Yes No
{!! $custom_fields['implication-details'] !!}

@endif
Submitted by
Name: {!! $task->UserAdded->full_name !!}
Designation: {!! $submitter_designation!!}
Date: {!! showDate($task->created_at) !!}
Time: {!! showTime($task->created_at) !!}
Verified by
Name: {!! $reviewer !!}
Designation: {!! $reviewer_designation !!}
Date: {!! showDate($task->complete_date) !!}
Time: {!! showTime($task->complete_date) !!}
@foreach($uploads as $upload)

@endforeach