@extends('account.my-account') @section('account-content') {{-- @include('common.spacer') --}}
@include('flash::message') @if (isset($errors) and $errors->any())
{{ t('Oops ! An error has occurred. Please correct the red fields in the form') }}
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
VIEW PROFILE
{{-- --}}
{!! csrf_field() !!}
@if ($genders->count() > 0) @foreach ($genders as $gender)
gender_id)==$gender->tid) ? 'checked="checked"' : '' }}>
@endforeach @endif
@php $gender_value = ''; if ($genders->count() > 0){ foreach ($genders as $gender){ if($user->gender_id == $gender->tid){ $gender_value = $gender->name; } } } @endphp

@if(!empty($gender_value)) {{$gender_value}} @else - @endif

@if (auth()->user()->user_type_id == 1) {{-- first name --}}

{{auth()->user()->first_name}}

{{-- last name --}}

{{auth()->user()->last_name}}

@endif @if (auth()->user()->user_type_id == 2 || auth()->user()->user_type_id == 3 || auth()->user()->user_type_id == 4 || auth()->user()->user_type_id == 5)

{{auth()->user()->name}}

@endif
{{--
--}}

{{auth()->user()->email}}

{{--
{!! getPhoneIcon(old('country_code', $user->country_code)) !!}
--}}
{{--
user()->phone_hidden)=='1') ? 'checked="checked"' : '' }}>  {{ t('Hide') }}
--}}

{{auth()->user()->country_phone_code}} {{auth()->user()->phone}}

@if (auth()->user()->user_type_id == 2 || auth()->user()->user_type_id == 3 || auth()->user()->user_type_id == 4 || auth()->user()->user_type_id == 5) {{-- company name --}}

{{auth()->user()->company_name}}

{{-- designation --}}

{{auth()->user()->designation}}

{{-- Address --}}

{{auth()->user()->address}}

{{-- Emirates --}}
{{--
--}}

@foreach($emirates as $emirate) @if ($user->emirates==$emirate->id) {{ $emirate->value }} @endif @endforeach

@endif {{--
--}}
@endsection @section('after_styles') @if (config('lang.direction') == 'rtl') @endif @endsection @section('after_scripts') @if (file_exists(public_path() . '/assets/plugins/bootstrap-fileinput/js/locales/'.ietfLangTag(config('app.locale')).'.js')) @endif @endsection