@extends('layouts.main') @section('title', $data['title']) @section('content')
@php $id = Auth::user()->id; $company = DB::table('users')->where('id', $id)->value('avatar'); if ($company) { $companyLogo = $company; } else { $companyLogo = url('assets/images/company-logo.png'); } @endphp
Profile Picture

{{ Auth::user()->first_name }} {{ Auth::user()->last_name }}

{{ getUserTypeName(Auth::user()->type) }}

Full Name: {{ Auth::user()->first_name }} {{ Auth::user()->last_name }}
Type: {{ ucfirst(strtolower(getUserTypeName(Auth::user()->type))) }}
Mobile: {{ Auth::user()->dialing_code }} {{ Auth::user()->phone_number }}
E-mail: {{ Auth::user()->email }}
Location: {{ Auth::user()->address_line1 }}
{{ Auth::user()->address_line2 }} @if (Auth::user()->address_line2 != '') , @endif {{ Auth::user()->pincode }}
{{ implode( ', ', array_filter([ getCityName(Auth::user()->city_id), getStateName(Auth::user()->state_id), getCountryName(Auth::user()->country_id), ]), ) }}
@endsection('content') @section('custom-scripts') @endsection