@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif {{-- end breadcrumb --}} {{-- table --}}
@if ($messages->total() == 0) @endif @foreach ($messages as $msg) @endforeach
ID Sender Number Message Status Via Last Updated Action
{{ $msg->id }} {{ $msg->device->body ?? 'NA/Deleted' }} {{ $msg->number }} {{ $msg->type }} : {{ substr($msg->message, 0, 20) }} {{ strlen($msg->message) > 20 ? '...' : '' }} @if ($msg->status == 'success') Sent @else Failed @endif @if ($msg->send_by == 'web') Web @else API @endif {{ date('d M Y', strtotime($msg->updated_at)) }} Resend
{{-- end table --}}