@extends('admin.layouts.main') @section('title', $customer->first_name . ' ' . $customer->last_name) @section('menu', 'Customers') @section('content')
Profile

{{ $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
@csrf
@csrf @method('DELETE')
Details
@forelse($customer->domains as $domain) @empty @endforelse
DomainStatusExpiry
{{ $domain->domain_name }} {{ ucfirst($domain->status) }} {{ $domain->expiry_date->format('M d, Y') }}
No domains
@forelse($customer->hostingAccounts as $hosting) @empty @endforelse
DomainPackageStatusDue
{{ $hosting->domain }} {{ $hosting->package_name }} {{ ucfirst($hosting->status) }} {{ $hosting->next_due_date->format('M d, Y') }}
No hosting accounts
@forelse($customer->orders as $order) @empty @endforelse
Order #TotalStatusDate
{{ $order->order_number }} {{ $order->total }} {{ ucfirst($order->status) }} {{ $order->created_at->format('M d, Y') }}
No orders
@forelse($customer->invoices as $invoice) @empty @endforelse
Invoice #TotalStatusDue
{{ $invoice->invoice_number }} {{ $invoice->total }} {{ ucfirst($invoice->status) }} {{ $invoice->due_date->format('M d, Y') }}
No invoices
@forelse($customer->contacts as $contact) @empty @endforelse
NameEmailPhoneTypeDefault
{{ $contact->first_name }} {{ $contact->last_name }} {{ $contact->email }} {{ $contact->phone }} {{ ucfirst($contact->type) }} @if($contact->is_default)Yes@endif
No contacts
@endsection