@include('backend.inc.navbar_searchjs')
{{--
--}}
{{ Auth::user()->unreadNotifications->count() }}
{{translate('Notifications')}}
@forelse(Auth::user()->unreadNotifications->take(20) as $notification) @if($notification->type == 'App\Notifications\OrderNotification')
{{translate('Order code: ')}} {{$notification->data['order_code']}} {{ translate('has been '. ucfirst(str_replace('_', ' ', $notification->data['status'])))}}
{{ date("F j Y, g:i a", strtotime($notification->created_at)) }}
@endif @empty
{{ translate('Not Found') }}
{{ translate('Sorry, no results were found. Try adjusting your search or adding new items.') }}
{{ translate('Go Back') }}
@endforelse
{{ Auth::user()->email[0] }}
{{--
--}} {{--
--}} {{--
--}}
{{ Auth::user()->email[0] }}
{{ Auth::user()->name }}
{{ Auth::user()->role }}
{{ Auth::user()->email}}
{{translate('My Profile')}}
{{translate('General Settings')}}
{{--
3
--}}
{{translate('Configurations')}}
{{translate('Smtp Settings')}}
{{translate('Payment Methods')}}
{{translate('Social Media')}}
{{translate( 'Shipping')}}
{{--
--}} {{--
Notifications
--}}
{{translate('Teams')}}
{{translate('Mode')}}
{{translate('Light')}}
{{translate('Dark')}}
{{translate('System')}}
@php if(Session::has('locale')){ $locale = Session::get('locale', Config::get('app.locale')); } else{ $locale = env('DEFAULT_LANGUAGE'); } @endphp
{{ translate('Language') }}
{{$locale}}
@foreach (\App\Models\Language::where('status', 1)->get() as $key => $language)
{{ $language->name }}
@endforeach
{{translate('Account Settings')}}
{{translate('Sign Out')}}