@extends('backend.layouts.app') @section('content')
@php $kpis = [ ['title' => 'Total Members', 'value' => $totalMembers, 'icon' => 'account-group', 'color' => 'primary'], [ 'title' => 'Total Organizations', 'value' => $totalOrganizations, 'icon' => 'domain', 'color' => 'success', ], [ 'title' => 'Total Committees', 'value' => $totalCommittees, 'icon' => 'account-tie', 'color' => 'dark', ], [ 'title' => 'Donation Requests', 'value' => $donationRequestCount, 'icon' => 'alert-circle-outline', 'color' => 'warning', ], ['title' => 'Donations', 'value' => $donationTotal, 'icon' => 'hand-heart', 'color' => 'success'], [ 'title' => 'Subscriptions', 'value' => $subscriptionTotal, 'icon' => 'calendar-check', 'color' => 'info', ], ['title' => 'Income', 'value' => $incomeTotal, 'icon' => 'cash-plus', 'color' => 'success'], ['title' => 'Expenses', 'value' => $expenseTotal, 'icon' => 'cash-minus', 'color' => 'danger'], ]; @endphp @foreach ($kpis as $card)

{{ $card['title'] }}

{{ number_format($card['value'], 2) }}

@endforeach
Member Fee Overview

Total Paid: {{ number_format($memberPaidFee, 2) }}

Pending: {{ number_format($memberUnpaidFee, 2) }}

Manage Fees
Subscription Billing

Generated: {{ $subscriptionGenerated }}

Unpaid: {{ $subscriptionUnpaid }}

View Bills
Financial Summary

Income: {{ number_format($incomeTotal, 2) }}

Expense: {{ number_format($expenseTotal, 2) }}

Report
Members Donations Subscriptions Expenses Income Settings

Recent Pending Members

@forelse ($pendingMembers as $key => $member) @empty @endforelse
# Member Mobile Status
{{ $key + 1 }}
photo

{{ $member->full_name }}

{{ $member->cpr_number }}
{{ $member->mobile }} Pending
No pending members found.
View all members

Recent Donation Requests

@forelse ($recentDonationRequests as $donation) @empty @endforelse
Name Mobile Amount Status

{{ $donation->name }}

{{ $donation->email }}
{{ $donation->mobile }} {{ number_format($donation->amount, 2) }} {{ ucfirst($donation->status) }}
No donation requests found.
View all donation requests

Recent Activity Logs

    @forelse ($logs as $log)
  • {{ $log->created_at->diffForHumans() }}
  • @empty
  • @endforelse
@endsection