@extends('admin.layouts.main')
@section('title', $customer->first_name . ' ' . $customer->last_name)
@section('menu', 'Customers')
@section('content')
{{ $customer->first_name }} {{ $customer->last_name }}
{{ $customer->company }}
| Email | {{ $customer->email }} |
| Phone | {{ $customer->phone ?? 'N/A' }} |
| Status | {{ ucfirst($customer->status) }} |
| Country | {{ $customer->country_code ?? 'N/A' }} |
| Currency | {{ $customer->currency_code }} |
| Registered | {{ $customer->created_at->format('M d, Y') }} |
| Last Login | {{ $customer->last_login_at?->diffForHumans() ?? 'Never' }} |
Edit Customer
Notification Preferences
| Domain | Status | Expiry |
@forelse($customer->domains as $domain)
| {{ $domain->domain_name }} |
{{ ucfirst($domain->status) }} |
{{ $domain->expiry_date->format('M d, Y') }} |
@empty
| No domains |
@endforelse
| Domain | Package | Status | Due |
@forelse($customer->hostingAccounts as $hosting)
| {{ $hosting->domain }} |
{{ $hosting->package_name }} |
{{ ucfirst($hosting->status) }} |
{{ $hosting->next_due_date->format('M d, Y') }} |
@empty
| No hosting accounts |
@endforelse
| Order # | Total | Status | Date |
@forelse($customer->orders as $order)
| {{ $order->order_number }} |
{{ $order->total }} |
{{ ucfirst($order->status) }} |
{{ $order->created_at->format('M d, Y') }} |
@empty
| No orders |
@endforelse
| Invoice # | Total | Status | Due |
@forelse($customer->invoices as $invoice)
| {{ $invoice->invoice_number }} |
{{ $invoice->total }} |
{{ ucfirst($invoice->status) }} |
{{ $invoice->due_date->format('M d, Y') }} |
@empty
| No invoices |
@endforelse
@endsection