@extends('Layout.mainlayout') @section('content')
Advocates Management
Last Month Total Register Advocate
{{ $lastMonthTotal }}
{{ $lastMonthTotal > 0 ? round(($thisMonthTotal / $lastMonthTotal) * 100, 1) : 0 }}%
This Month Total Register Advocate
{{ $thisMonthTotal }}
{{ $thisMonthTotal > 0 ? round(($thisMonthTotal / max($lastMonthTotal, 1)) * 100, 1) : 0 }}%
OverAll Register Advocate
{{ $overallTotal }}
100%
🔍

Advocate History

@forelse($advocates as $index => $advocate) @empty @endforelse
SI No. Name Email Date Join Channel Action
{{ $advocates->firstItem() + $index }}
{{ $advocate->first_name }} {{ $advocate->last_name }} {{ $advocate->first_name }} {{ $advocate->last_name }}
{{ $advocate->email }} {{ $advocate->created_at->format('M d, Y') }} {{ ucfirst($advocate->channel ?? 'Other') }}
👁

No advocates found

@if($advocates->onFirstPage()) @else ‹ Previous @endif @foreach(range(1, $advocates->lastPage()) as $page) @if($page == $advocates->currentPage()) @else {{ $page }} @endif @endforeach @if($advocates->hasMorePages()) Next › @else @endif
@endsection