@extends('admin.layouts.app') @section('title', $domain->domain) @section('content') @if(session('epp_code'))
{{ __('admin.domains.epp_code') }}
{{ session('epp_code') }}
@endif
{{ __('admin.domains.actions') }}
@if(strtolower((string) $domain->status) === 'pending') @php $isManualRegistrar = strtolower((string) $domain->registrar) === 'manual'; $isTransferOrder = strtolower((string) $domain->type) === 'transfer'; @endphp
{{ $isManualRegistrar ? __('admin.domains.register_manual_hint') : __('admin.domains.register_hint') }}
@csrf
@endif
@csrf
@csrf
@csrf
@if($domain->record_only) {{-- Kept on record only (imported): nothing renews from here until billing starts. --}}
@csrf
@else
@csrf
@endif {{ __('admin.domains.get_epp_code') }} @if(auth('admin')->user()?->hasPermission('view_activity_log')) {{ __('admin.logs.view_module_log') }} @endif @if($canTogglePrivacy)
@csrf
@endif @if($canEditContacts) {{ __('client.domains.contacts_title') }} @endif @if($canManageGlue) {{ __('client.domains.glue_title') }} @endif
{{ __('admin.domains.registration') }}
@if($domain->order_id) @endif
{{ __('admin.domains.registrar') }}
@csrf
{{ __('admin.domains.registration_date') }}{{ $domain->registration_date?->format(date_fmt()) ?? '-' }}
{{ __('admin.domains.expiry_date') }}{{ $domain->expiry_date?->format(date_fmt()) ?? '-' }}
{{ __('admin.domains.next_due_date') }}{{ $domain->next_due_date?->format(date_fmt()) ?? '-' }}
{{ __('admin.domains.last_sync') }} @if($domain->last_sync_at) {{ $domain->last_sync_at->format(datetime_fmt()) }} @if($domain->last_sync_status === 'ok') {{ __('admin.domains.last_sync_ok') }} @else {{ __('admin.domains.last_sync_error') }} @endif @else - @endif
{{ __('admin.domains.period') }}{{ __('admin.domains.period_years', ['count' => $domain->registration_period]) }}
{{ __('admin.domains.type') }}{{ $domain->type }}
{{ __('admin.domains.registrar_lock') }}{{ $locked === null ? '-' : ($locked ? __('admin.domains.enabled') : __('admin.domains.disabled')) }}
{{ __('admin.domains.order') }}#{{ $domain->order_id }}
{{ __('admin.domains.billing') }}
{{ __('admin.domains.first_payment') }}{{ money_fmt($domain->first_payment_amount) }}
{{ __('admin.domains.recurring_amount') }}{{ __('admin.domains.per_year', ['amount' => money_fmt($domain->recurring_amount)]) }}
{{ __('admin.domains.payment_method') }}{{ $domain->payment_method ? payment_method_label((string) $domain->payment_method) : '-' }}
{{ __('admin.domains.premium') }}{{ $domain->is_premium ? 'Yes' : 'No' }}
{{-- Move to another client account. --}}
has('client')) open @endif> {{ __('admin.domains.move_title') }}

{{ __('admin.domains.move_hint') }}

{{ __('admin.domains.move_owner_can') }}

@csrf
@error('client')
{{ $message }}
@enderror
@if($domain->record_only) @endif
{{ __('admin.domains.nameservers') }}
@php $ns = is_array($domain->nameservers) ? $domain->nameservers : (json_decode($domain->nameservers ?? '[]', true) ?? []); @endphp
@csrf @for($i = 1; $i <= 5; $i++)
NS{{ $i }}
@endfor
@include('partials.ns-delegation', ['url' => route('admin.domains.delegation', $domain)])
{{ __('admin.domains.features') }}
@foreach(['dns_management'=>__('admin.domains.dns_management'),'email_forwarding'=>__('admin.domains.email_forwarding'),'id_protection'=>__('admin.domains.id_protection')] as $field=>$label)
{{ $label }} {{ $domain->$field ? 'Enabled' : 'Disabled' }}
@endforeach
@if($domain->notes)
{{ __('admin.domains.notes') }}
{{ $domain->notes }}
@endif @endsection