Station
{{ $deployment->station->name }}
@if($deployment->programme)
Programme
{{ $deployment->programme->name }}
@endif
@if($deployment->topic)
Topic
{{ $deployment->topic }}
@endif
Date
{{ $deployment->deployment_date->format('l, d M Y') }}
@if($deployment->start_time)
Time
{{ date('g:i A', strtotime($deployment->start_time)) }}{{ $deployment->end_time ? ' โ '.date('g:i A', strtotime($deployment->end_time)) : '' }}
@endif
Assigned By
{{ $deployment->assignedBy->name }}
SMS Sent
{{ $deployment->sms_sent ? 'Yes โ '.($deployment->sms_sent_at?->format('d M Y H:i') ?? '') : 'No' }}
@if($deployment->accepted_at)
Accepted on {{ $deployment->accepted_at->format('d M Y H:i') }}
@endif
@if($deployment->declined_at)
Declined on {{ $deployment->declined_at->format('d M Y H:i') }}
@if($deployment->decline_reason)
Reason: {{ $deployment->decline_reason }}
@endif
@endif
@endif
{{-- Linked request --}}
@if($deployment->deploymentRequest)
@endif
{{-- Actions --}}
@if(in_array($deployment->status, ['pending','accepted']))