@extends('layouts.master') @section('title', 'Default Dashboard') @section('css') @endsection @section('breadcrumb')

Default Dashboard

@endsection @section('main_content') @use('App\Helpers\Helpers') @php $settings = Helpers::getSettingPageContent(); @endphp

Good day, {{ ucfirst(Auth::user()->first_name) .' '. ucfirst(Auth::user()->last_name) }}

Welcome to the {{ $settings['general']['site_name'] }} family! We are delighted that you have visited our dashboard.

Send New SMS

{{ $stats['sent'] ?? 0 }}

SMS Sent

{{ $stats['failed'] ?? 0 }}

SMS Failed

{{ $stats['contacts'] ?? 0 }}

Total Contacts

{{ $stats['total'] ?? 0 }}

Total Messages

Recent SMS Delivery Log

View All Logs
@isset($recentMessages) @forelse($recentMessages as $msg) @empty @endforelse @endisset
# Time Recipient Message Gateway Status
{{ $msg->id }} {{ $msg->sent_at ? $msg->sent_at->format('Y-m-d H:i') : $msg->created_at->format('Y-m-d H:i') }} {{ $msg->recipient }} {{ \Illuminate\Support\Str::limit($msg->message, 50) }} {{ ucfirst($msg->gateway) }} {{ ucfirst($msg->status) }}
No SMS records found.

Recent Contacts

Manage Contacts
@isset($recentContacts) @forelse($recentContacts as $contact) @empty @endforelse @endisset
Name Phone / ID
{{ $contact->recipient }}
No contacts found.
@endsection @section('scripts') @endsection