diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 5034722a1a..0b8e2fde8d 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -249,10 +249,14 @@ {{ trans('admin/hardware/form.notes') }} {{ $asset->notes }} - - {{ trans('general.created_at') }} - {{ $asset->created_at->format('F j, Y h:iA') }} - + @if ($asset->created_at) + + {{ trans('general.created_at') }} + + {{ $user->created_at->format('F j, Y h:iA') }} + + + @endif diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index 0682b787d8..8021f1facf 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -111,10 +111,14 @@ {{ $user->userloc->name }} @endif - - {{ trans('general.created_at') }} - {{ $user->created_at->format('F j, Y h:iA') }} - + @if ($user->created_at) + + {{ trans('general.created_at') }} + + {{ $user->created_at->format('F j, Y h:iA') }} + + + @endif