@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>