@extends('layouts.app') @section('title', 'My Deployments') @section('page-title', 'My Deployments') @section('content')
{{-- Filter --}}
All + Self-Deploy Request
@forelse($deployments as $d)

{{ $d->station->name }}

@if($d->programme) ยท {{ $d->programme->name }} @endif {{ ucfirst(str_replace('_',' ',$d->status)) }}
๐Ÿ“… {{ $d->deployment_date->format('l, d M Y') }} @if($d->start_time)๐Ÿ• {{ date('g:i A', strtotime($d->start_time)) }}{{ $d->end_time ? ' โ€“ '.date('g:i A', strtotime($d->end_time)) : '' }}@endif @if($d->topic)๐Ÿ’ฌ {{ $d->topic }}@endif
@if($d->notes)

{{ $d->notes }}

@endif
{{-- Accept / Decline --}} @if($d->status === 'pending')
@csrf
@endif
{{-- Decline form --}} @if($d->status === 'pending')
@csrf
@endif @if($d->decline_reason && $d->status === 'declined')
Decline reason: {{ $d->decline_reason }}
@endif
@empty
No deployments found. Make a self-deployment request.
@endforelse @if($deployments->hasPages())
{{ $deployments->links() }}
@endif
@endsection