@extends('layouts.app') @section('content')

View User

{{-- --}}
{{ $user->first_name.' '.$user->middle_name.' '.$user->last_name}}
{{ $user->email }}
@if(!empty($user->getRoleNames->name)) {{Str::ucfirst($user->getRoleNames->name)}} @else -- @endif
@if($user->profile_image != NULL) @else @endif
{{ ($user->country_code) ? $user->country_code : "" }} {{ $user->mobile_number }}
@if(!empty($user->CountryData->name)) {{Str::ucfirst($user->CountryData->name)}} @else - @endif
@if(!empty($user->StateData->name)) {{Str::ucfirst($user->StateData->name)}} @else - @endif
@if(!empty($user->CityData->name)) {{Str::ucfirst($user->CityData->name)}} @else - @endif
{{ ($user->dob??"-") }}
@if(!empty($user->ReligionData->name)) {{$user->ReligionData->name}} @else - @endif
{{ Str::ucfirst($user->gender??"-") }}
{{ Str::ucfirst($user->marital_status??"-") }}
{{ Str::ucfirst($user->occupational_status??"-") }}
{{ Str::ucfirst($user->work_at??"-") }}
{{ Str::ucfirst($user->other_detail??"-") }}
@if( $user->have_children=='') {{"-"}} @else {{ $user->have_children }} @endif
{{ ($user->monthly_income??"-")}}
@if(!empty($user->EducationData->name)) {{$user->EducationData->name}} @else - @endif
{{ ($user->graduate_year??"-")}}
{{ Str::ucfirst($user->field_of_study??"-")}}
{{ Str::ucfirst($user->is_political??"-")}}
{{ Str::ucfirst($user->is_alcoholic??"-")}}
{{ Str::ucfirst($user->is_smoking??"-")}}
{{ Str::ucfirst($user->do_exercise??"-")}}
@if(!empty($user->height)) @if($user->height_measurement == "feet") {{cmToFeet($user->height).' '.$user->height_measurement}} @else {{$user->height.' '.$user->height_measurement}} @endif @else - @endif
@if(!empty($user->weight)) {{ $user->weight.' '.$user->weight_measurement}} @else - @endif
@php $hobby = Helpers::hobby($user['id']); @endphp @if(!empty($hobby)) {{$hobby}} @else - @endif
@php $ethnicity = Helpers::ethnicity($user['id']); @endphp @if(!empty($ethnicity)) {{$ethnicity}} @else - @endif
@endsection