@extends('admin.layouts.app') @section('title', 'Customer Details') @section('page-title', 'Customer: ' . $customer->name) @section('content')
Member since {{ $customer->created_at->format('F Y') }}
Email: {{ $customer->email }}
Phone: {{ $customer->phone ?? 'N/A' }}
Address: {{ $customer->address ?? 'N/A' }}
Total Orders: {{ $customer->orders->count() }}
Total Spent: {{ $currency_symbol }}{{ number_format($customer->orders->sum('total'), 2) }}
Account Status: {{ $customer->deleted_at ? 'Disabled' : 'Active' }}
| Order # | Date | Total | Status | Actions |
|---|---|---|---|---|
| {{ $order->order_number }} | {{ $order->created_at->format('M d, Y') }} | {{ $currency_symbol }}{{ number_format($order->total, 2) }} | {{ ucfirst($order->status) }} | |
| No orders found | ||||