@extends('layouts.app') @section('content')
Back

{{ optional($deployment->ndrtOfficer)->name ?? (optional($deployment->ndrtOfficer)->first_name . ' ' . optional($deployment->ndrtOfficer)->surname) ?: 'NDRT Officer' }}

Deployment Details

Edit
@csrf @method('DELETE')
Deployment Information
Period

{{ optional($deployment->start_date)->format('M d, Y') ?? '—' }}
to {{ optional($deployment->end_date)->format('M d, Y') ?? '—' }}

Location

{{ $deployment->mission_location ?? '—' }}

Status
{{ ucfirst($deployment->status ?? 'active') }} @if($deployment->mission_end_date)
Completed: {{ $deployment->mission_end_date->format('M d, Y') }}
@endif
Mentor

{{ $deployment->has_mentor ? ($deployment->mentor_name ?: 'Yes') : 'No' }}

Extended

{{ $deployment->is_extended ? 'Yes' : 'No' }}

@if($deployment->is_extended) @if($deployment->new_completion_date)
New completion: {{ $deployment->new_completion_date->format('M d, Y') }}
@endif @if($deployment->extension_reason)
Reason: {{ $deployment->extension_reason }}
@endif @endif
Reporting To

{{ $deployment->reporting_to ?: '—' }}

Mission Description

{{ $deployment->mission_description ?: '—' }}

Equipment Log
@if(is_array($deployment->equipment_log) && count($deployment->equipment_log) > 0)
    @foreach($deployment->equipment_log as $item)
  • {{ $item }}
  • @endforeach
@else

No equipment recorded.

@endif
@if($deployment->report_path) @endif
Created: {{ $deployment->created_at->format('M d, Y h:i A') }}
Last Updated: {{ $deployment->updated_at->format('M d, Y h:i A') }}
@endsection