@if (isset($data)) Incident Report
Incident Investigation Report
@if ($supervisors && $supervisors->count() > 0) @else @endif

TITLE:   {{ $data->title ?? 'N/A' }}

DOCUMENT NUMBER:   {{ $data->document_number ?? 'N/A' }}

AUTHORISED BY:   {{ $data->main_details_first_name ?? 'N/A' }} {{ $data->main_details_last_name ?? '' }}

ISSUE DATE:   {{ $data->issue_date ?? 'N/A' }}

REVISION DATE:   {{ $data->revision_date ?? 'N/A' }}

REVISION NUMBER:   {{ $data->revision_number ?? 'N/A' }}

Site:   {{ $data->site_title ?? 'N/A' }}

Supervisors:   @foreach ($supervisors as $supervisor) {{ $supervisor->emp_personal_supervisor_detail_f_name }} {{ $supervisor->emp_personal_supervisor_detail_last_name }} @if (!$loop->last), @endif @endforeach

Supervisors:   N/A

Forman:   {{ $data->emp_personal_forman_detail_f_name ?? 'N/A' }} {{ $data->emp_personal_forman_detail_last_name ?? '' }}

PART A – Incident Details (Must be completed for all Injuries / Incidents)

{{-- --}}

PROJECT INCIDENT INVESTIGATION NUMBER:   {{ $data->investigation_number ?? 'N/A' }}

OFFICE NUMBER:   {{ $data->office_number ?? 'N/A' }}

PROJECT NAME:   {{ $data->project_title ?? 'N/A' }}

PROJECT NUMBER:   {{ $data->project_numbers ?? 'N/A' }}

REPORT COMPILED BY:   {{ $data->reported_by_first_name ?? 'N/A' }} {{ $data->reported_by_last_name ?? 'N/A' }}

ROLE:   {{ $data->reported_bys_title ?? 'N/A' }}

END DATE:   {{ $data->date ?? 'N/A' }}

DATE OF INCIDENT:   {{ $data->incident_date ?? 'N/A' }}

INCIDENT REPORT TO:   {{ $data->roles_reported_to_first_name ?? 'N/A' }} {{ $data->roles_reported_to_last_name ?? 'N/A' }}

INCIDENT REPORT TO:   {{ $data->reported_by_first_name ?? 'N/A' }} {{ $data->reported_by_last_name ?? '' }}

REPORT TO COMPANY NAME:   {{ $data->incident_report_to_company_name ?? 'N/A' }}

@if ($data->roles_reported_to_last_name_reported_to && !is_numeric($data->roles_reported_to_last_name_reported_to))

REPORT TO POSITION:   {{ $data->roles_reported_to_last_name_reported_to ?? 'N/A' }}

@else

REPORT TO POSITION:   {{ $data->roles_reported_to_first_name ?? 'N/A' }} {{ $data->reported_tos_title ?? 'N/A' }}

@endif

REPORT TO CONTACT NUMBER:   {{ $data->incident_report_to_contact_number ?? 'N/A' }}

TIME OF INCIDENT:   {{ $data->incident_time ?? 'N/A' }}

DATE INCIDENT REPORTED:   {{ $data->date_incident_reported ?? 'N/A' }}

TIME INCIDENT REPORTED :   {{ $data->time_incident_reported ?? 'N/A' }}

INCIDENT REPORT BY:   {{$data->reported_by_first_name ?? 'N/A' }} {{$data->reported_by_last_name ?? ''}}

INCIDENT REPORT BY COMPANY NAME:   {{ $data->incident_report_bys_company_name ?? 'N/A' }}

INCIDENT REPORT BY CONTACT NUMBER:   {{ $data->incident_report_bys_contact_number ?? 'N/A' }}

Title: {{ $data->title ?? 'N/A' }} Document Number: {{ $data->document_number ?? 'N/A' }}
Revision Number: {{ $data->revision_number ?? 'N/A' }} Revision Date: {{ $data->revision_date ?? 'N/A' }}

Initial injury classification

@if ($dataClassifications->isNotEmpty()) @foreach($dataClassifications as $data_classification) @if($data_classification->incident_injury_classifications_title) @endif @endforeach @else @endif

Notifiable Incident Classification

@if ($data->incident_notified_tos_ohs_regulator == 1) @elseif($data->incident_notified_tos_ohs_regulator == 2) @elseif($data->incident_notified_tos_ohs_regulator == 3) @else @endif

OHS Regulator (Refer To Section 35 Of The WHS Act For A Definition Of Notifiable Incident)

@if ($data->notifiable_classification_id) @endif

REFERENCE NUMBER:   {{ $data->incident_notified_tos_reference_number ?? 'N/A' }}

CONTACT NAME:   {{ $data->incident_notified_tos_contact_name ?? 'N/A' }}

DATE:   {{ $data->incident_notified_tos_date ?? 'N/A' }}

TIME:   {{ $data->incident_notified_tos_time ?? 'N/A' }}

Was there more than one person injured / Involved?

@if ($data->involved_persons) @else @endif

Injured / Involved Persons Details

{{-- @dd($incident_involved_person_details); --}} {{-- @foreach ($incident_involved_person_details['incident_involved'] as $key => $incident_involved) @php $titles = explode(',', $incident_involved['employee_trainings_title']); $notes = $incident_involved['training_other_note'] ?? ''; @endphp @foreach ($titles as $title) @if (trim($title) == 'Other' && $notes) @endif @endforeach @php $titles = explode(',', $incident_involved['employee_trainings_title']); $notes = $incident_involved['training_other_note'] ?? ''; // Assuming this field exists and is formatted similarly @endphp @foreach ($titles as $index => $title) @php $trimmedTitle = trim($title); @endphp @if ($trimmedTitle == 'Other' && $notes) @endif @endforeach @foreach ($incident_involved['incident_employee_injury_types'] as $incident_employee_injury_types) @endforeach @foreach ($incident_involved['incident_employee_injury_types'] as $injury) @endforeach @endforeach
Number #{{$key + 1}}
EMPLOYEE: {{ $incident_involved['injured_employee_first_name'] }} {{ $incident_involved['injured_employee_last_name'] }}
Age: {{ $incident_involved['age'] }} DOB: {{ $incident_involved['dob'] }}
OCCUPATION: {{ $incident_involved['occupation'] }} LANGUAGE: {{ $incident_involved['language'] }}
GENDER: @if ($incident_involved['gender'] == 0) Male @elseif ($incident_involved['gender'] == 1) Female @else N/A @endif
Experience In Task (when Incident Occurred)
MONTHS: {{ $incident_involved['experience_months'] }} YEARS: {{ $incident_involved['experience_years'] }}
REFERENCE NUMBER: {{ $incident_involved['incident_notified_tos_reference_number'] }}
TYPE OF EMPLOYMENT
@if ($incident_involved['employee_types_title'])
@endif {{ $incident_involved['employee_types_title'] }}
TYPE OF EMPLOYEE
@if ($incident_involved['employee_type'])
@endif {{ $incident_involved['employee_type'] }}
SUPERVISOR: {{ $incident_involved['supervisor_first_name'] ?? '' }} {{ $incident_involved['supervisor_last_name'] ?? '' }}
Training Provided to Injured / Involved Person
{{ trim($title) }}
Note: {{ $notes }}

SUPERVISOR (OF INJURED / INVOLVED WORKER):   {{ $incident_involved['incident_notified_tos_time']}}

Training Provided to Injured / Involved Person:

@if ($injury->option)
@endif {{ ucwords(str_replace('_', ' ', $injury->option)) }}: {{ $injury->value ?? '' }}
--}} {{--

Is Employer Of The Worker :   {{ $data->incident_employer_details_is_employer_worker??'' }}

--}}
{{-- --}} {{-- --}} {{--

Nature of Injury:   {{ $data->incident_notified_tos_reference_number ?? 'N/A' }}

BODILY LOCATION:   {{ $data->incident_notified_tos_date ?? 'N/A' }}

NATURE OF DISEASE:   {{ $data->incident_employee_injury_types_options ?? 'N/A' }}

BREAKDOWN OF INJURY / AGENCY OF INJURY:   {{ $data->incident_notified_tos_time ?? 'N/A' }}

MECHANISM OF INJURY / DISEASE:   {{ $data->incident_notified_tos_time ?? 'N/A' }}

INCIDENT EMPLOYEE INJURY TYPES EMPLOYER NAME:   {{ $data->incident_employer_details_employer_name ?? 'N/A' }}

--}}

Shift / Part of Shift

@foreach ($questionsAndAnswers as $qa) @endforeach

{{ $qa->question }}:   {{ $qa->answer ?? 'N/A' }}

Incident Involving Plant / Property.

@if ($data->plant_name == 0) @elseif ($data->plant_name == 1) @elseif ($data->plant_name == 2) @else @endif

EQUIPMENT TYPE OR PROPERTY DESCRIPTION:   {{ $data->incident_report_employee_equipment_type ?? 'N/A' }}

DAMAGE / LOSS:   {{ $data->incident_report_employee_damage ?? 'N/A' }}

APPROX COST / VALUE:   {{ $data->incident_report_employee_cost ?? 'N/A' }}

Is a corrective action(s) required for this incident?

@if ($data->is_correct_action_required) @else @endif

Incident Response (Describe the immediate response to the incident / Injury)

{{ $data->incident_response }}

REFER RETURN TO WORK / REHABILITATION PROCEDURE

@if ($data->is_injury_management) @else @endif

NAME OF MANAGEMENT REPRESENTATIVE:   {{ $data->incident_injury_managements_representative_name }}

NAME OF INJURED WORKERS SUPERVISOR:   {{ $data->incident_injury_managements_injured_names }}

DATE:   {{ $data->incident_injury_managements_date ?? ' N/A' }}

TIME:   {{ $data->incident_injury_managements_time ?? 'N/A' }}

Outcome of Treatment and Work Status

@if ($data->incident_injury_managements_is_first_aid) @else {{-- --}} @endif @if ($data->incident_injury_managements_is_referred) @else {{-- --}} @endif
@if ($data->incident_injury_managements_is_doctor) @else {{-- --}} @endif @if ($data->incident_injury_managements_is_clinic) @else {{-- --}} @endif
@if ($data->incident_injury_managements_is_admit) @else {{-- --}} @endif

Doctor Details

NAME OF DOCTOR:   {{ $data->incident_injury_managements_doctor_name ?? 'N/A' }}

CONTACT NO:   {{ $data->incident_injury_managements_doctor_number ?? 'N/A' }}

ADDRESS OF DOCTOR:   {{ $data->incident_injury_managements_doctor_address ?? 'N/A' }}

Hospital Details

NAME OF HOSPITAL:   {{ $data->incident_injury_managements_hospital_name ?? 'N/A' }}

CONTACT NO:   {{ $data->incident_injury_managements_hospital_number ?? 'N/A' }}

ADDRESS OF HOSPITAL:   {{ $data->incident_injury_managements_hospital_address ?? 'N/A' }}

Is this a recurrence of a previous injury

@if ($data->incident_injury_managements_is_recurrence_injury) @else @endif

DATE:   {{ $data->incident_injury_managements_previous_injury_date ?? 'N/A' }}

PREVIOUS INCIDENT INVESTIGATION REPORT NUMBER:   {{ $data->incident_injury_managements_previous_report_number }}

PART C – Close Out (Must be completed for all Injuries / Incidents)

Completion of this section, including necessary signatures, denotes closure of this incident report.

Final Classifications

@if ($data->is_final_injury_classification) @else @endif

OTHER DETAIL:   {{ $data->final_incident_details_incident_details }}

Final Incident Classification.

@if ($data->is_final_incident_classification) @else @endif

OTHER DETAIL:   {{ $data->final_incident_details_incident_details }}

Complete for LTI or RWI (Lost Time Injury / Restricted Work Injury)

@if ($data->lti_or_rwi) @else @endif

Is rehabilitation likely?

@if ($data->final_incident_details_is_rehabilitation == 1) @elseif ($data->final_incident_details_is_rehabilitation == 0) @else @endif

Return to Full duties on Date (if known)

DATE OF RTW (IF KNOW):   {{ $data->final_incident_details_return_to_duty_date ?? 'N/A' }}

NO OF LOST DAYS (IF KNOW):   {{ $data->final_incident_details_rtw_date ?? 'N/A' }}

NO OF LOST DAYS (IF KNOW):   {{ $data->final_incident_details_total_lost_days ?? 'N/A' }}

Has the Workers Comp body been notified?

@if ($data->final_incident_details_is_worker_notified == 1) @elseif ($data->final_incident_details_is_worker_notified == 0) @else @endif

BY WHOM?:   {{ $data->emp_personal_forman_notified_by_whom_f_name ?? 'N/A' }}{{' ' . $data->emp_personal_forman_notified_by_whom_l_name ?? '' }}

DATE:   {{ $data->final_incident_details_date ?? 'N/A' }}

TIME:   {{ $data->final_incident_details_time ?? 'N/A' }}

OTHER DETAILS:   {{ $data->final_incident_details_details ?? 'N/A' }}

{{--

Sign Off for All Incidents

@foreach ($incidentSignoffs as $signoff) @if ($signoff->inc_signoffs_role_code == 'FM')

NAME:   {{ $signoff->emp_personal_details_first_name ?? 'N/A' }} {{' ' . $signoff->emp_personal_details_last_name ?? '' }}

SIGNATURE: @php $imagePath = $signoff->inc_signoffs_signature; @endphp @if (!empty($imagePath)) No signature height="100px" style="object-fit: cover;"> @else No signature yet. @endif

DATE:   {{ $signoff->inc_signoffs_date ?? 'N/A' }}

TIME:   {{ $signoff->inc_signoffs_time ?? 'N/A' }}

@endif @endforeach

Safety Manager

@foreach ($incidentSignoffs as $signoff) @if ($signoff->inc_signoffs_role_code == 'SSO')

NAME:   {{ $signoff->emp_personal_details_first_name ?? 'N/A' }} {{ $signoff->emp_personal_details_last_name ?? 'N/A' }}

SIGNATURE:   {{ $signoff->inc_signoffs_signature ?? 'N/A' }}

DATE:   {{ $signoff->inc_signoffs_date ?? 'N/A' }}

TIME:   {{ $signoff->inc_signoffs_time ?? 'N/A' }}

@endif @endforeach

Director

@foreach ($incidentSignoffs as $signoff) @if ($signoff->inc_signoffs_role_code == 'Dir')

NAME:   {{ $signoff->emp_personal_details_first_name ?? 'N/A' }} {{ $signoff->emp_personal_details_last_name ?? 'N/A' }}

SIGNATURE:   {{ $signoff->inc_signoffs_signature ?? 'N/A' }}

DATE:   {{ $signoff->inc_signoffs_date ?? 'N/A' }}

TIME:   {{ $signoff->inc_signoffs_time ?? 'N/A' }}

@endif @endforeach
--}}

PART D – Additional Information to Incident Investigation Report

High Risk Category (the most significant risk category, if any, that relates to the incident) (Refer to 291 Meaning of “high risk construction work”)

@if ($data->incident_risk_category_details_incident_risk_category_id == 1) @elseif($data->incident_risk_category_details_incident_risk_category_id == 2) @elseif($data->incident_risk_category_details_incident_risk_category_id == 3) @elseif($data->incident_risk_category_details_incident_risk_category_id == 4) @elseif($data->incident_risk_category_details_incident_risk_category_id == 5) @elseif($data->incident_risk_category_details_incident_risk_category_id == 6) @elseif($data->incident_risk_category_details_incident_risk_category_id == 7) @elseif($data->incident_risk_category_details_incident_risk_category_id == 8) @elseif($data->incident_risk_category_details_incident_risk_category_id == 9) @elseif($data->incident_risk_category_details_incident_risk_category_id == 10) @elseif($data->incident_risk_category_details_incident_risk_category_id == 11) @elseif($data->incident_risk_category_details_incident_risk_category_id == 12) @elseif($data->incident_risk_category_details_incident_risk_category_id == 13) @elseif($data->incident_risk_category_details_incident_risk_category_id == 14) @elseif($data->incident_risk_category_details_incident_risk_category_id == 15) @endif

OTHER DETAILS:   {{ $data->incident_risk_category_details_details ?? 'N/A' }}

ATTACH ALL WITNESS STATEMENT / DOCUMENTS TO THIS INCIDENT REPORT

Witness Name Witness Statement Number Date Taken Time Taken
{{ $data->incident_witness_name ?? 'N/A' }} {{ $data->incident_witness_statement_number ?? 'N/A' }} {{ $data->incident_witness_date ?? 'N/A' }} {{ $data->incident_witness_time ?? 'N/A' }}

Incident Images

@if($reportImages->isNotEmpty()) @foreach($reportImages as $image) @php $imageUrl = get_signed_document_url($image->image); @endphp image loading... @endforeach @else
No images available for this report.
@endif
@else

No record found

Downloaded record has incomplete records found against please complete then download
@endif