@if (ucfirst($incident_report->asset) != Null)

{{ ucfirst($incident_report->asset->name) }} [ {{ $incident_report->asset->rfc }}]

@if (ucfirst($incident_report->asset) == Null) @endif

Incident Report

Incident Report

{{ 'IR-'.@$incident_report->id }}

Created Date & Time

{{ date('d M, Y', strtotime(@$incident_report->updated_at)) }} , {{ date('h:i A', strtotime(@$incident_report->updated_at)) }}

Company

{{ @$incident_report->company->name }}

Division

{{ @$incident_report->division->name }}

Damage Details

{{ @$incident_report->damagedetails }}

Action

{{ @$incident_report->action }}

Status

{{ @$incident_report->incident_reports_status }}

Incident By

{{ @$incident_report->incidentby }}

Block

{{ @$incident_report->sublocation->block->name }}

Section

{{ @$incident_report->sublocation->section->name }}

Location

{{ @$incident_report->sublocation->location->name }}

Sub Location

{{ @$incident_report->sublocation->name }}

Department

{{ @$incident_report->department->name }}

Work Department

{{ @$incident_report->work_department->name }}

Asset Details

Category

{{ @$incident_report->asset->category->name }}

Subcategory

{{ @$incident_report->asset->subcategory->name }}

Work Department

{{ @$incident_report->asset->work_department->name }}

Company

{{ @$incident_report->asset->company->name }}

Division

{{ @$incident_report->asset->division->name }}

Block

{{ @$incident_report->asset->block->name }}

Section

{{ @$incident_report->asset->section->name }}

Location

{{ @$incident_report->asset->location->name }}

Sublocation

{{ @$incident_report->asset->sublocation->name }}

Custodian

{{ @$incident_report->asset->custodian->name }}

Purchase Date

{{ @$incident_report->asset->purchase_date }}

@endif