@extends('admin.layouts.main') @section('title', $domain->domain_name) @section('menu', 'Domains') @section('content')
| Domain Name | {{ $domain->domain_name }} |
|---|---|
| Client | @if($domain->user){{ $domain->user->first_name }} {{ $domain->user->last_name }}@else N/A @endif |
| TLD Extension | {{ $domain->tldExtension?->extension ?? 'N/A' }} |
| Registrar | {{ $domain->registrar?->name ?? 'N/A' }} |
| Registrar Order ID | {{ $domain->registrar_order_id ?? 'N/A' }} |
| Status | {{ ucfirst($domain->status) }} |
| Registrar Status | {{ $domain->registrar_status ?? 'N/A' }} |
| Registration Date | {{ $domain->registration_date?->format('M d, Y') ?? 'N/A' }} |
| Expiry Date | {{ $domain->expiry_date?->format('M d, Y') ?? 'N/A' }} |
| Registration Price | {{ $domain->registration_price ? number_format($domain->registration_price, 2) : 'N/A' }} |
| Renewal Price | {{ $domain->renewal_price ? number_format($domain->renewal_price, 2) : 'N/A' }} |
| Last Synced | {{ $domain->last_synced_at?->format('M d, Y H:i') ?? 'Never' }} |
| Auto Renew |
auto_renew ? 'checked' : '' }}>
|
|---|---|
| Theft Protection |
@if($domain->registrar && $domain->registrar_order_id)
theft_protection ? 'checked' : '' }}>
@else
{{ $domain->theft_protection ? 'Enabled' : 'Disabled' }}
(no registrar linked)
@endif
|
| ID Protection |
id_protection ? 'checked' : '' }}>
|
| Nameservers | {{ $domain->nameservers ? implode(', ', $domain->nameservers) : 'N/A' }} |
| Invoice # | Total | Status | Due Date |
|---|---|---|---|
| {{ $inv->invoice_number }} | {{ number_format($inv->total, 2) }} | @php $invBadge = match($inv->status) { 'paid' => 'success', 'unpaid' => 'warning', 'cancelled' => 'default', default => 'info' }; @endphp {{ ucfirst($inv->status) }} | {{ $inv->due_date->format('M d, Y') }} |