{{-- custom css --}}
@lang('message.welcome_to')
{{ $currentRole }}
@lang('message.panel')
@php $currentLocale = session('admin_locale', 'en'); // default set $languages = ['en' => 'EN', 'es' => 'ES']; // i can add more languages here @endphp @if ($authUser->hasPermissionTo('earnings chart - dashboard') || $authUser->id == 1) @if (isset($data['export_option']))
@csrf
@endif @endif @if ($authUser->hasPermissionTo('list - ongoing deals') || $authUser->id == 1)
@if ($paymentNotificationCount > 0)
{{ $paymentNotificationCount }}
@endif
@if ($paymentNotificationCount === 0)
@lang('message.no_new_notification')
@else @foreach ($paymentProofNotifications as $payprnotification)
{{ app()->getLocale() === 'en' ? $payprnotification->message : $payprnotification->message_es }}
@endforeach @endif
@endif @if ($authUser->hasPermissionTo('conversation - dispute deals') || $authUser->id == 1)
@if ($unreadCount > 0)
{{ $unreadCount }}
@endif
@if ($unreadCount === 0)
@lang('message.no_new_messages')
@else @foreach ($notifications as $notification)
{{ app()->getLocale() === 'en' ? $notification->message : $notification->message_es }}
@endforeach @endif
@endif
{{ $languages[$currentLocale] }}
@foreach ($languages as $key => $lang) @if ($key !== $currentLocale)
@csrf
{{ $lang }}
@endif @endforeach
{{ Auth::user()->name }}
{{ Auth::user()->email }}
{{--
--}} @if ($authUser->hasPermissionTo('update profile - setting') || $authUser->id == 1)
@lang('message.my_profile')
@endif @if ($authUser->hasPermissionTo('change password - setting') || $authUser->id == 1)
@lang('message.change_password')
@endif @if ($authUser->hasPermissionTo('deal - setting') || $authUser->id == 1)
@lang('message.deal_settings')
{{--
Billing
4
--}} @endif @if ($authUser->hasPermissionTo('details manage - bank') || $authUser->id == 1)
@lang('message.bank_details')
@endif {{--
--}}
@csrf
@lang('message.log_out')
@yield('content')
@yield('top_scripts') @yield('scripts');