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 @@
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 - | -
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 + | +