@include('layouts.simple.css') @yield('style') @php function check_permissions($per) { if (Auth::guard('admin')->check() && Auth::guard('admin')->user()->type == 3) { if (session()->has('user_permissions') && !empty(session('user_permissions'))) { if (in_array($per, session('user_permissions'))) { return true; } } } return false; } @endphp getName() == 'index') onload="startTime()" @elseif (Route::current()->getName() == 'button-builder') class="button-builder" @endif>
~
@include('layouts.simple.header')
@include('layouts.simple.sidebar')
@yield('breadcrumb-title')
@yield('content')
@include('layouts.simple.footer')
@include('layouts.simple.script')