a314ac99ef
Initial v2 commit Laravel project
85 lines
3.6 KiB
PHP
85 lines
3.6 KiB
PHP
@section('title') {{ $domain->domain }}.{{$domain->extension}} {{'domain'}} @endsection
|
|
<x-app-layout>
|
|
<x-slot name="header">
|
|
{{ __('Domain details') }}
|
|
</x-slot>
|
|
<div class="container">
|
|
<x-card class="shadow mt-3">
|
|
<x-back-button>
|
|
<x-slot name="href">{{ route('domains.index') }}</x-slot>
|
|
Go back
|
|
</x-back-button>
|
|
<div class="table-responsive">
|
|
<table class="table table-borderless text-nowrap">
|
|
<tbody>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Domain</td>
|
|
<td>{{ $domain->domain }}.{{$domain->extension}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Domain id</td>
|
|
<td><code>{{ $domain->id }}</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Provider</td>
|
|
<td>{{ $service_extras[0]->provider_name }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">NS1</td>
|
|
<td>{{ $domain->ns1 }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">NS2</td>
|
|
<td>{{ $domain->ns2 }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">NS3</td>
|
|
<td>{{ $domain->ns3 }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Price</td>
|
|
<td>{{ $domain->price }} {{ $domain->currency }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Term</td>
|
|
<td>{{\App\Process::paymentTermIntToString($service_extras[0]->term)}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Owned since</td>
|
|
<td>
|
|
@if(!is_null($domain->owned_since))
|
|
{{date_format(new DateTime($domain->owned_since), 'jS F Y')}}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Next due date</td>
|
|
<td>
|
|
@if(!is_null($service_extras[0]->next_due_date))
|
|
{{date_format(new DateTime($service_extras[0]->next_due_date), 'jS F Y')}}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Created on</td>
|
|
<td>
|
|
@if(!is_null($service_extras[0]->created_at))
|
|
{{ date_format(new DateTime($service_extras[0]->created_at), 'jS F Y') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="px-4 py-2 font-bold">Last updated</td>
|
|
<td>
|
|
@if(!is_null($service_extras[0]->updated_at))
|
|
{{ date_format(new DateTime($service_extras[0]->updated_at), 'jS F Y') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</x-card>
|
|
</div>
|
|
</x-app-layout>
|