@extends('layouts.app') @section('content')

Whatsapp Messages

@if(session('success'))
{{ session('success') }}
@endif
@foreach($Whatsapp_Msg as $key => $val) @endforeach
Sr No Sent To Description Sent At
{{ $key + 1 }} @foreach(json_decode($val->sent_to, true) as $phone) {{ $phone }} @endforeach {{ Str::limit($val->description, 100) }} {{ \Carbon\Carbon::parse($val->sent_at)->format('d M Y, h:i A') }}
{{-- Pagination --}}
    @if($Whatsapp_Msg->onFirstPage())
  • @else
  • @endif @foreach($Whatsapp_Msg->getUrlRange(1, $Whatsapp_Msg->lastPage()) as $page => $url)
  • {{ $page }}
  • @endforeach @if($Whatsapp_Msg->hasMorePages())
  • @else
  • @endif
{{-- Send Marketing Message Modal --}} @endsection @section('scripts') @endsection