@extends('backend.layouts.master') @section('body')

@lang('common.dashboard')

@php use App\Models\User; $user = User::find(Auth::user()->id); $path = public_path().'/Backend/profile/'.$user->profile; @endphp
@if(file_exists($path)) {{Auth::user()->name}} @else {{Auth::user()->name}} @endif
@if(config('app.locale') == 'en') @php if(Auth::user()->gender == 'Male') { $titlename = 'Mr.'; } else { $titlename = 'Mrs.'; } @endphp

Welcome {{$titlename}} {{Auth::user()->name ?: Auth::user()->name_bn}}

@else @php if(Auth::user()->gender == 'Male') { $titlename = 'মি.'; } else { $titlename = 'মিসেস.'; } @endphp

স্বাগতম {{$titlename}} {{Auth::user()->name_bn ?: Auth::user()->name}}

@endif
@lang('common.calendar')
@endsection