@extends('web.layouts.admin') @section('title', config('app.name')) @section('content')
User Details

@if (!empty($data->image)) User Image @else

N/A

@endif
@php $address = $data->addresses ?? null; $device = $data->userDevice->first() ?? null; $fields = [ ['icon' => 'user', 'label' => 'Full Name', 'value' => $data->full_name ?? 'N/A'], ['icon' => 'envelope', 'label' => 'Email', 'value' => $data->email ?? 'N/A'], [ 'icon' => 'laptop', 'label' => 'Device Name', 'value' => $device?->device_name ?? 'N/A', ], [ 'icon' => 'language', 'label' => 'Language', 'value' => $device?->language ?? 'N/A', ], [ 'icon' => 'clock-o', 'label' => 'Timezone', 'value' => $device?->timezone ?? 'N/A', ], [ 'icon' => 'bell', 'label' => 'Push Notification', 'value' => $device?->push_notification == '1' ? 'Enabled' : ($device?->push_notification === '0' ? 'Disabled' : 'N/A'), ], [ 'icon' => 'hdd-o', 'label' => 'Total Space', 'value' => $totalSpace ?? 'N/A', ], [ 'icon' => 'folder-open', 'label' => 'Used Space', 'value' => $usedSpace ?? 'N/A', ], [ 'icon' => 'folder-o', 'label' => 'Free Space', 'value' => $freeSpace ?? 'N/A', ], ]; @endphp @foreach ($fields as $field)
{{ $field['label'] }} {{ $field['value'] }}
@endforeach

Activity Overview
# Name Transaction Id Type Purchase Date Payment Method Expiry Date Status
# Title Description Template Cover Image Created Date
@stop