@yield('css') @php // dd($counts); if (!Auth::check()) { header('Location: ' . route('login')); // exit(); } @endphp @php $routeName = Route::currentRouteName(); @endphp {{-- @if ($routeName != 'mail.info' || $routeName != 'mails.filter' || $routeName != 'mails.show') --}} {{-- @if (!in_array($routeName, ['mail.info', 'mails.filter', 'mails.show'])) {{ $routeName }}
@yield('content')
@endif --}} {{-- mail dashbord below --}}
{{-- --}} Promotion Mail {{ $counts['promotion'] ?? 0 }}
{{-- --}} Unread {{ $counts['countUnread'] ?? 0 }}
{{-- --}} Read {{ $counts['countRead'] ?? 0 }}
{{-- All --}} Mail {{ $counts['countAll'] ?? 0 }}
@if (Auth::check() && Auth::user()->auth_id == 0) @endif {{--
@yield('content')
@stack('scripts')
{{-- Loding ..... --}}
L O A D I N G