@extends('layouts.default') @section('content')
@foreach ($users as $key => $user) @endforeach
No. User First Name Last Name Referral Code Active Role Status Date of Birth Phone Number Works At Country State Location About Insurance Role Actions Status Details
{{ $key + 1 }}
{{ $user->name ?? null }} {{ $user->email ?? null }}
{{ $user->profile->first_name ?? null }} {{ $user->profile->last_name ?? null }} {{ $user->referral_code ?? null }} {{ $user->active_role ?? null }} {{ $user->status ?? null }} {{ $user->profile->birth_year ?? null }} {{ $user->profile->phone_number ?? null }} {{ $user->profile->company_name ?? null }} {{ $user->profile->country ?? null }} {{ $user->profile->select_state ?? null }} {{ $user->profile->location ?? null }} {{ $user->profile->about ?? null }} {{ $user->profile->is_insurance ?? null }} {{ $user->roles[0]['name'] ?? null }}
{{ $user->status == 1 ? 'Active' : 'Deactive' }}
@stop @section('script') @endsection