@extends('layouts.app') @section('title', 'Deployments') @section('page-title', 'Deployments') @section('content')
{{-- Filter bar --}}
Clear + New Deployment
{{-- Table --}}
@forelse($deployments as $d) @empty @endforelse
Communicator Station / Programme Date & Time Type Status
{{ $d->communicator->name }}
{{ $d->communicator->region?->name }}
{{ $d->station->name }}
@if($d->programme)
{{ $d->programme->name }}
@endif
{{ $d->deployment_date->format('d M Y') }}
@if($d->start_time)
{{ date('g:i A', strtotime($d->start_time)) }}
@endif
{{ str_replace('_',' ', ucfirst($d->type)) }} {{ ucfirst(str_replace('_',' ',$d->status)) }} View
No deployments found
@if($deployments->hasPages())
{{ $deployments->links() }}
@endif
@endsection