getMyExtensionStatus(); $stat = $myExtensionStatus['status_text'] ?? 'Unknown'; $status = DB::table('user_starus')->select('name', 'command', 'color', 'icon'); // dd($stat); if ($stat == 'Not in use' || $stat == 'Idle') { $status = $status->where('command', 'pause')->get(); $stat = 'Avail'; } elseif ($stat == 'Unavailable' || $stat == 'Offline') { $status = null; } else { $status = $status->where('command', 'unpause')->get(); } ?> {{ \Modules\Platform\Core\Helper\CompanySettings::get('S_COMPANY_NAME')}} @stack('css-up') @if(config('broadcasting.connections.pusher.key') != '') @endif @stack('css') @include('partial.header_js') @if (session('message'))
{{ session('message') }}
@endif @if(config('bap.preloader_type') != 'none')
@if(config('bap.preloader_type') == 'ball')
@endif @if(config('bap.preloader_type') == 'circle')
@endif

@lang('core::core.please_wait')

@endif
@include('partial.search-bar') @include('partial.top-bar')
@include('partial.left-sidebar') @include('partial.right-sidebar')
@include('flash::message') @yield('content')
@include('partial.bottom_js') @stack('scripts') @include('announcement::announcement-message')