@extends("admin.layouts.app") @section("title", __("admin.ssl_orders")) @section("content")
| {{ __('common.table.id') }} | {{ __('common.table.domain') }} | {{ __('common.table.type') }} | {{ __('common.table.client') }} | {{ __('common.table.status') }} | {{ __('admin.ssl.order_date') }} | {{ __('admin.ssl.expires') }} | {{ __('common.table.actions') }} |
|---|---|---|---|---|---|---|---|
| {{ $order->id }} |
{{ $order->domain ?: '—' }}
@if($order->cert_type)
{{ $order->cert_type }} @endif |
{{ $order->module ?: '—' }} | @if($order->client) {{ $order->client->first_name }} {{ $order->client->last_name }} @else — @endif | {{ $order->status }} | {{ $order->order_date?->format('d M Y') ?: $order->created_at->format('d M Y') }} |
@if($order->crt_expires)
{{ $order->crt_expires->format('d M Y') }}
@if($order->daysUntilExpiry() !== null && $order->daysUntilExpiry() <= 30 && $order->daysUntilExpiry() > 0)
{{ $order->daysUntilExpiry() }} {{ __('admin.ssl.days') }} @elseif($order->daysUntilExpiry() !== null && $order->daysUntilExpiry() <= 0) {{ __('admin.ssl.expired') }} @endif @else — @endif |
{{ __('common.actions.view') }} |
| {{ __('admin.ssl.no_orders') }} | |||||||