@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
{{ 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), ]), ) }} |