@extends('layouts.app') @section('title', 'Safety Communications') @section('content')
{{ $stats['total'] }}

Total Communications

All messages

{{ $stats['sent'] }}

Sent

Delivered messages

{{ $stats['scheduled'] }}

Scheduled

Pending delivery

{{ $stats['draft'] }}

Drafts

Unsent messages

@forelse($communications as $communication) @empty @endforelse
Subject Type Status Recipients Created Actions
{{ $communication->title }}
{{ Str::limit($communication->message, 80) }}
{{ ucfirst($communication->communication_type) }} {{ ucfirst($communication->status) }} {{ $communication->total_recipients ?? 0 }} recipients {{ $communication->created_at->format('M j, Y') }} View Edit
No communications found
@if($communications->hasPages())
{{ $communications->links() }}
@endif
@push('scripts') @endpush @endsection