@extends('layouts.admin') @section('title','Manage Customers') @section('page-title','πŸ‘₯ Manage Customers') @section('styles') @endsection @section('content')
πŸ“Š Total: {{ $totalCustomers }} πŸ’° Credits: ${{ number_format($totalCredits, 2) }} βœ… Active: {{ $activeCount }}
@forelse($customers as $c) @empty @endforelse
IDNameEmailPhoneCreditStatusJoinedActions
{{ $c->id }} {{ $c->name }} {{ $c->email }} {{ $c->phone ?: 'β€”' }} ${{ number_format($c->credit_balance, 2) }} {{ ucfirst($c->status) }} {{ $c->created_at->format('d M Y') }}
✏️ Edit πŸ’° Credits
@csrf @method('DELETE')
No customers found
{{ $customers->withQueryString()->links() }}
{{-- Add Customer Modal --}} @endsection