diff --git a/resources/views/misc/show.blade.php b/resources/views/misc/show.blade.php index e57aa69..9ba0200 100644 --- a/resources/views/misc/show.blade.php +++ b/resources/views/misc/show.blade.php @@ -5,60 +5,75 @@
- - {{ route('misc.index') }} - Go back - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Service{{ $service_extras[0]->name }}
Price{{ $service_extras[0]->price }} {{ $service_extras[0]->currency }}
Term{{ \App\Process::paymentTermIntToString($service_extras[0]->term) }}
Owned since - @if(!is_null($service_extras[0]->owned_since)) - {{ date_format(new DateTime($service_extras[0]->owned_since), 'jS F Y') }} - @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 -
+
+
+

{{ $service_extras[0]->name}}

+
+
+
{{ $service_extras[0]->service_id }}
+ @if($service_extras[0]->active !== 1) +
not active
+ @endif +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Service{{ $service_extras[0]->name }}
Price{{ $service_extras[0]->price }} {{ $service_extras[0]->currency }} + {{\App\Process::paymentTermIntToString($service_extras[0]->term)}} +
Owned since + @if(!is_null($service_extras[0]->owned_since)) + {{ date_format(new DateTime($service_extras[0]->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($service_extras[0]->created_at)) + {{ date_format(new DateTime($service_extras[0]->created_at), 'jS M y g:i a') }} + @endif +
Updated + @if(!is_null($service_extras[0]->updated_at)) + {{ date_format(new DateTime($service_extras[0]->updated_at), 'jS M y g:i a') }} + @endif +
+
+
+
+ + Go back + + + Edit +