@php $current_url = Request::path(); $current_url_1 = null; if ($current_url != '/') { $urlParts = explode('/', $current_url); $current_url = $urlParts[0]; $current_url_1 = $urlParts[1] ?? null; } $userType = \App\Helpers\Helpers::getUserRole()->type_id ?? []; $userAccess = \App\Helpers\Helpers::getUserAccess() ?? []; $access = $userAccess['accesses'] ?? []; $menu = $_GET['menu'] ?? ''; @endphp