@extends('layouts.admin') @section('title','Admin Dashboard') @section('page-title','📊 Dashboard') @section('styles') @endsection @section('content')
👥
{{ $totalCustomers }}
Total Customers
💰
${{ number_format($totalCreditBalance, 2) }}
Total Credit Balance
💳
${{ number_format($totalPayments, 2) }}
Total Revenue
🤲
${{ number_format($totalDonations, 2) }}
Total Donations
🏆
{{ $wallCount }}
Wall of Fame

Quick Actions

📋 Recent Payments
@forelse($recentPayments as $p) @empty @endforelse
InvoiceCustomerAmountTypeStatusDate
{{ $p->invoice_no }} {{ $p->customer_name }} ${{ number_format($p->amount, 2) }} {{ ucfirst($p->type) }} {{ ucfirst($p->status) }} {{ $p->created_at->format('d M Y') }}
No payments yet
@endsection