@extends('admin.layout') @section('title', 'Customer Details') @section('admin-content')
Total Orders
{{ $totalOrders }}
Total Paid
₦{{ number_format($totalPaid, 0) }}
Outstanding Balance
₦{{ number_format($totalBalance, 0) }}
Name: {{ $user->name }}
Email: {{ $user->email }}
Phone: {{ $user->phone ?? 'N/A' }}
Joined: {{ $user->created_at->format('M d, Y') }}
No orders yet
@elseNo payments yet
@else₦{{ number_format($payment->amount, 0) }}
{{ $payment->created_at->format('M d, Y') }}
No pairings yet
@else{{ $pairing->product->name }}
Qty: {{ $pairing->quantity }}
₦{{ number_format($pairing->total_price, 0) }}
{{ ucfirst($pairing->status) }}