@extends('client.layouts.app') @section('title', $domain->domain ?? 'Domain') @section('styles') @endsection @section('content')
{{ __('client.domains.domain_info') }}
{{ __('client.domains.domain_name') }}
{{ $domain->domain }}
{{ __('client.services.registration_date') }}
{{ $domain->registration_date?->format('d M Y') ?? 'N/A' }}
{{ __('client.domains.expiry_date') }}
{{ $domain->expiry_date?->format('d M Y') ?? 'N/A' }}
{{ __('client.services.auto_renew') }}
{{ ($domain->auto_renew ?? false) ? __("client.status.enabled") : __("client.status.disabled") }}
{{ __('client.domains.id_protection') }}
{{ ($domain->id_protection ?? false) ? __("client.status.enabled") : __("client.status.disabled") }}
{{ __('client.domains.registrar_lock') }}
{{ $domain->status === 'Locked' ? __("client.status.locked") : __("client.status.unlocked") }}
{{ __('client.domains.nameservers') }}
@if(isset($domain->ns1))
@foreach(['ns1', 'ns2', 'ns3', 'ns4', 'ns5'] as $ns) @if(!empty($domain->{$ns}))
{{ strtoupper($ns) }}
{{ $domain->{$ns} }}
@endif @endforeach
@else

{{ __('client.domains.ns_not_available') }}

@endif
@if($domain->dns_management ?? false)
{{ __('client.domains.dns_management') }}

{{ __('client.domains.dns_enabled') }}

{{ __('client.domains.manage_dns') }} →
@endif {{-- EPP Code --}}
{{ __('client.domains.transfer_domain') }}

{{ __('client.domains.epp_desc') }}

@csrf
@if(session('epp_code'))
{{ session('epp_code') }}
@endif
@endsection