@extends('adminlte::master') @inject('layoutHelper', 'JeroenNoten\LaravelAdminLte\Helpers\LayoutHelper') @section('adminlte_css') @stack('css') @yield('css') @stop @section('classes_body', $layoutHelper->makeBodyClasses()) @section('body_data', $layoutHelper->makeBodyData()) @section('body') {{--* Preloader Animation *--}} @if($layoutHelper->isPreloaderEnabled()) @include('adminlte::partials.common.preloader') @endif {{--* Body *--}}
{{-- Sidebar --}} @include('shared.components.sidebar.dashboard-sidebar', [ 'role' => Auth::user()->role, 'has_audits' => \App\Helpers\Environment\SystemModulesHelper::getModuleStatus('audits'), 'has_restaurant' => \App\Helpers\Environment\SystemModulesHelper::getModuleStatus('restaurant'), 'has_otas_connection' => \App\Helpers\Environment\SystemModulesHelper::getModuleStatus('otas_connection'), 'has_invoice_processing' => \App\Helpers\Environment\SystemModulesHelper::getModuleStatus('invoice_processing') ]) {{-- Content --}}
{{-- Navbar --}} @include('shared.components.navbar.default-navbar', ['is_dashboard' => true, 'expand_indicators' => true]) {{-- Dynamic Content --}}
{{-- Content Wrapper --}} @empty($iFrameEnabled) @include('adminlte::partials.cwrapper.cwrapper-default') @else @include('adminlte::partials.cwrapper.cwrapper-iframe') @endempty
@stack('scripts')
{{--* Scripts *--}} {{-- Constants --}} {{-- Initialize Poppers --}} {{-- Initialize Moment --}}
{{-- Right Control Sidebar --}} @if(config('adminlte.right_sidebar')) @include('adminlte::partials.sidebar.right-sidebar') @endif @stop @section('adminlte_js') @stack('js') @yield('js') @stop