@php $generalSetting = App\Models\GeneralSetting::first(); $logoPath = public_path('admin/Image/AppSettings/Logo/' . $generalSetting->system_logo); $logoData = base64_encode(file_get_contents($logoPath)); $logoSrc = 'data:image/' . pathinfo($logoPath, PATHINFO_EXTENSION) . ';base64,' . $logoData; @endphp
# | Username | Gender | Age | Relation Status | City | Country | Register | |
---|---|---|---|---|---|---|---|---|
{{ $a++ }} | {{ $member->user_name }} | {{ $member->gender }} | {{ $member->age }} | @php $relation = $member->relation_status_id ? App\Models\ProfileAttributeMeta::where('attribute_id', '3')->where('id', $member->relation_status_id)->first() : null; @endphp @if ($relation){{ $relation->name }} | @else- | @endif{{ $member->User_detail ? $member->User_detail->city->name : '-' }} | {{ $member->User_detail ? $member->User_detail->country->name : '-' }} | {{formatDate($member->created_at) }} |