{{ $customer->name }}
Customer
- Status
- Email Verified @if($customer->email_verified_at) {{ $customer->email_verified_at->format('d M Y') }} @else Not Verified @endif
- Member Since {{-- {{ $customer->created_at->format('d M Y') }}--}}
- Total Orders {{ $customer->total_orders ?? 0 }}
Quick Stats
{{ $customer->total_orders ?? 0 }}
Total Orders
₹{{ number_format($customer->orders->sum('total_amount') ?? 0, 2) }}
Total Spent
- Pending Orders {{ $customer->pending_orders ?? 0 }}
- Completed Orders {{ $customer->completed_orders ?? 0 }}
- Avg. Order Value ₹{{ $customer->total_orders > 0 ? number_format(($customer->orders->sum('total_amount') ?? 0) / $customer->total_orders, 2) : '0.00' }}
| Full Name | {{ $customer->name }} |
|---|---|
| Email Address | {{ $customer->email }} |
| Phone Number | {{ $customer->phone ?? 'N/A' }} |
| User Type | {{ $customer->user_type }} |
| Account Status | {{ ucfirst($customer->status) }} |
| Registration Date | {{--{{ $customer->created_at->format('d M Y, h:i A') }} | --}}
|---|---|
| Last Login |
@if($customer->last_login_at)
{{ $customer->last_login_at->format('d M Y, h:i A') }}
({{ $customer->last_login_at->diffForHumans() }}) @else Never logged in @endif |
| Last Updated | {{-- {{ $customer->updated_at->format('d M Y, h:i A') }}--}} |
| IP Address | {{ $customer->last_login_ip ?? 'N/A' }} |
| Browser/Device | {{ $customer->user_agent ?? 'N/A' }} |
No Orders Yet
This customer hasn't placed any orders yet.
@if($address->is_default) Default @endif {{ $address->type == 'shipping' ? 'Shipping Address' : 'Billing Address' }}
{{ $address->full_name }}
{{ $address->address_line1 }}
@if($address->address_line2)
{{ $address->address_line2 }}
@endif
{{ $address->city }}, {{ $address->state }}
{{ $address->postal_code }}
Phone: {{ $address->phone }}
No Addresses Found
This customer hasn't saved any addresses yet.