@extends("admin.layouts.app") @section("title", "SSL Order #" . $order->id) @section("content")

SSL Order #{{ $order->id }}

{{ __('admin.ssl.back_to_list') }}
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
{{-- Certificate Details --}}
{{ __('admin.ssl.certificate_details') }}

{{ $order->domain ?: '—' }}

{{ $order->cert_type ?: '—' }}

{{ $order->status }}

{{ $order->module ?: '—' }}

{{ $order->remote_id ?: '—' }}

{{ $order->validation_method ?: '—' }}

{{ $order->order_date?->format('d M Y H:i') ?: $order->created_at->format('d M Y H:i') }}

{{ $order->completion_date?->format('d M Y H:i') ?: '—' }}

@if($order->crt_expires) {{ $order->crt_expires->format('d M Y') }} @if($order->daysUntilExpiry() !== null) ({{ $order->daysUntilExpiry() }} {{ __('admin.ssl.days') }}) @endif @else — @endif

@if($order->domains)

{{ $order->domains }}

@endif @if($order->approver_email)

{{ $order->approver_email }}

@endif
{{-- Admin Contact --}} @if($order->admin_first_name)
{{ __('admin.ssl.admin_contact') }}

{{ $order->admin_first_name }} {{ $order->admin_last_name }}

{{ $order->admin_email }}

{{ $order->admin_phone ?: '—' }}

{{ $order->admin_org ?: '—' }}

{{ collect([$order->admin_address, $order->admin_city, $order->admin_state, $order->admin_zip, $order->admin_country])->filter()->implode(', ') ?: '—' }}

@endif {{-- CSR --}} @if($order->csr)
{{ __('admin.ssl.csr') }}
@endif
{{-- Client Info --}}
{{ __('admin.ssl.client') }}
@if($order->client)

{{ $order->client->first_name }} {{ $order->client->last_name }}

{{ $order->client->email }}

{{ __('admin.ssl.view_client') }} @else

{{ __('admin.ssl.no_client') }}

@endif
{{-- Related Service --}} @if($order->service)
{{ __('admin.ssl.related_service') }}

{{ $order->service->product?->name ?? 'Service #' . $order->service_id }}

Status: {{ $order->service->status }}

{{ __('admin.ssl.view_service') }}
@endif {{-- Actions --}}
{{ __('admin.ssl.actions') }}
@if(in_array($order->status, ['Awaiting Issuance', 'Configuration Submitted']))
@csrf
@endif @if(in_array($order->status, ['Awaiting Issuance', 'Configuration Submitted']))
@csrf
@endif @if($order->isCompleted()) {{ __('admin.ssl.download_cert') }}
@csrf
@endif @if(!in_array($order->status, ['Cancelled', 'Revoked', 'Expired']))
@csrf
@endif
{{-- Timeline --}}
{{ __('admin.ssl.timeline') }}
  • {{ __('admin.ssl.created') }}
    {{ $order->created_at->format('d M Y H:i') }}
  • @if($order->order_date)
  • {{ __('admin.ssl.submitted_ca') }}
    {{ $order->order_date->format('d M Y H:i') }}
  • @endif @if($order->completion_date)
  • {{ __('admin.ssl.completed') }}
    {{ $order->completion_date->format('d M Y H:i') }}
  • @endif @if($order->last_polled_at)
  • {{ __('admin.ssl.last_polled') }}
    {{ $order->last_polled_at->format('d M Y H:i') }}
  • @endif
@endsection