Incidents
- Project Management
- Incidents
- Incidents Detail
-
Incident ID
#{{ $incident->incident_id }}
-
Incident date & time
{{ \Carbon\Carbon::parse($incident->incident_datetime)->format('d-M-Y') }}{{ \Carbon\Carbon::parse($incident->incident_datetime)->format('H:i') }}
-
Incident description
{{ $incident->description }}
-
Incident type
{{ isset($incident->typesData->incident_type_name) ? $incident->typesData->incident_type_name : '-' }}
-
Impacted activities
{{ $incident->activity_impact ?? '-' }}
-
Created By
{{ isset($incident->createdbyData->first_name) ? $incident->createdbyData->first_name.' '.$incident->createdbyData->last_name : '-' }}
-
Resolution action
{{ isset($incident->actionsData->action_name) ? $incident->actionsData->action_name : '-' }}
-
Assigned To
{{ isset($incident->assignedtoData->first_name) ? $incident->assignedtoData->first_name.' '.$incident->assignedtoData->last_name : '-' }}
-
Resolution date & time
{{ ($incident->resolution_datetime) ? displayDateTime($incident->resolution_datetime) : '-' }}
-
Time loss due to incident
{{ $incident->time_loss ?? '-' }}
-
Status
@php $statusText = isset($incident->statusData) ? $incident->statusData->status_name : '-'; $statusColour = isset($incident->statusData) ? $incident->statusData->color_name : ''; @endphp{{ $statusText }}
-
Project Name
@php $projectText = isset($incident->projectData->project_id) ? $incident->projectData->project_id . ' - ' . $incident->projectData->project_name : '-'; $projectURL = $projectText != '-' ? route('project.details', [ 'id' => $incident->projectData->id, ]) : 'javascript:;'; @endphp{{ $projectText }}