@extends('client.layouts.main') @section('title', 'Domain Details') @section('content')
Domain Information
Domain Name

{{ $domain->domain_name }}

Status

@php $statusColors = [ 'active' => 'success', 'pending' => 'warning', 'expired' => 'danger', 'cancelled' => 'default', 'transferred' => 'info', ]; @endphp {{ ucfirst($domain->status) }}

Registration Date

{{ $domain->registration_date ? $domain->registration_date->format('M d, Y') : '-' }}

Expiry Date

{{ $domain->expiry_date ? $domain->expiry_date->format('M d, Y') : '-' }}

Registrar

{{ $domain->registrar->name ?? '-' }}

Registration Price

{{ number_format($domain->registration_price, 2) }}

Renewal Price

{{ number_format($domain->renewal_price, 2) }}

Billing Cycle

{{ $domain->billingCycle->name ?? '-' }}

Next Due Date

{{ $domain->next_due_date ? $domain->next_due_date->format('M d, Y') : '-' }}

Whois Lookup @if($domain->registrar && $domain->registrar_order_id)
@csrf
@endif @if(in_array($domain->status, ['active', 'expired']))
@csrf
@endif
Nameservers
@csrf @method('PUT')
@php $nameservers = $domain->nameservers ?? []; @endphp @for ($i = 1; $i <= 5; $i++)
@endfor @if ($errors->has('nameservers')) {{ $errors->first('nameservers') }} @endif @if ($errors->has('nameservers.*')) {{ $errors->first('nameservers.*') }} @endif
Auto-Renew

Current Status: @if($domain->auto_renew) Enabled @else Disabled @endif

@csrf
Theft Protection

Current Status: @if($domain->theft_protection) Enabled @else Disabled @endif

@csrf
ID Protection

Current Status: @if($domain->id_protection) Enabled @else Disabled @endif

@csrf
EPP/Auth Code

Request the EPP/Authorization code needed to transfer this domain to another registrar.

Get EPP Code
@endsection