From 81986ebfd6d8a36a1250bd18a5c5c8b28a7ab13f Mon Sep 17 00:00:00 2001 From: cp6 Date: Sun, 20 Feb 2022 15:54:30 +1100 Subject: [PATCH] Updated domains show blade Updated domains show blade --- resources/views/domains/show.blade.php | 162 ++++++++++++++----------- 1 file changed, 90 insertions(+), 72 deletions(-) diff --git a/resources/views/domains/show.blade.php b/resources/views/domains/show.blade.php index e049f42..4e9faa2 100644 --- a/resources/views/domains/show.blade.php +++ b/resources/views/domains/show.blade.php @@ -5,80 +5,98 @@
- - {{ route('domains.index') }} - Go back - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Domain{{ $domain->domain }}.{{$domain->extension}}
Domain id{{ $domain->id }}
Provider{{ $service_extras[0]->provider_name }}
NS1{{ $domain->ns1 }}
NS2{{ $domain->ns2 }}
NS3{{ $domain->ns3 }}
Price{{ $domain->price }} {{ $domain->currency }}
Term{{\App\Process::paymentTermIntToString($service_extras[0]->term)}}
Owned since - @if(!is_null($domain->owned_since)) - {{date_format(new DateTime($domain->owned_since), 'jS F Y')}} +
+
+

{{ $domain->domain }}.{{$domain->extension}}

+ @foreach($labels as $label) + @if($loop->last) + {{$label->label}} + @else + {{$label->label}}, @endif -
Next due date - @if(!is_null($service_extras[0]->next_due_date)) - {{date_format(new DateTime($service_extras[0]->next_due_date), 'jS F Y')}} - @endif -
Created on - @if(!is_null($service_extras[0]->created_at)) - {{ date_format(new DateTime($service_extras[0]->created_at), 'jS F Y') }} - @endif -
Last updated - @if(!is_null($service_extras[0]->updated_at)) - {{ date_format(new DateTime($service_extras[0]->updated_at), 'jS F Y') }} - @endif -
+ @endforeach +
+
+
{{ $domain->id }}
+ @if($domain->active !== 1) +
not active
+ @endif +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Domain{{ $domain->domain }}.{{$domain->extension}}
Provider{{ $service_extras[0]->provider_name }}
Price{{ $service_extras[0]->price }} {{ $service_extras[0]->currency }} + {{\App\Process::paymentTermIntToString($service_extras[0]->term)}} +
NS1{{ $domain->ns1 }}
NS2{{ $domain->ns2 }}
NS3{{ $domain->ns3 }}
Owned since + @if(!is_null($domain->owned_since)) + {{ date_format(new DateTime($domain->owned_since), 'jS F Y') }} + @endif +
Next due date{{Carbon\Carbon::parse($service_extras[0]->next_due_date)->diffForHumans()}} + ({{Carbon\Carbon::parse($service_extras[0]->next_due_date)->format('d/m/Y')}}) +
Inserted + @if(!is_null($domain->created_at)) + {{ date_format(new DateTime($domain->created_at), 'jS M y g:i a') }} + @endif +
Updated + @if(!is_null($domain->updated_at)) + {{ date_format(new DateTime($domain->updated_at), 'jS M y g:i a') }} + @endif +
+
+
+
+ + Go back + + + Edit +