@php $logo_url = asset('imgs/twm_logo.png'); $menu_lista = [ [ 'icon' => 'dashboard', 'title' => 'Dashboard', 'href' => 'dashboard', 'active' => true ], // [ // 'icon' => 'person', // 'title' => 'Cadastro de Usuário', // 'href' => 'usuario/cadastro', // 'active' => true // ], [ 'icon' => 'contact_page', 'title' => 'Consulta de Assistidos', 'href' => 'cliente', 'active' => true ], [ 'icon' => 'receipt', 'title' => 'Atendimento', 'href' => 'atendimento', 'active' => true ], [ 'icon' => 'content_paste', 'title' => 'Consulta de Processos', 'href' => 'javascript:alert("Não implementado")', 'active' => false ], [ 'icon' => 'content_paste', 'title' => 'Peticionar', 'href' => 'javascript:alert("Não implementado")', 'active' => false ], [ 'icon' => 'article', 'title' => 'Peticionar', 'href' => 'javascript:alert("Não implementado")', 'active' => false ], [ 'icon'=> 'description', 'title' => 'Documentos', 'href' => 'documentos_declaracoes', 'active' => true ], ]; use \App\Http\Controllers\FuncoesController; if (FuncoesController::isUsuarioLogadoProfessorAtivo()) { $admin_items = [ [ 'icon' => 'menu_book', 'title' => 'Processos', 'href' => 'processos/consulta', 'active' => true ], [ 'icon' => 'calendar_month', 'title' => 'Agenda de Compromissos', 'href' => 'agenda', 'active' => true ], 'admin_nav' => [ [ 'icon'=> 'settings', 'title' => 'Gerenciamento', 'items' => [ [ 'icon' => 'assignment_ind', 'title' => 'Usuários', 'href' => 'usuario' ], [ 'icon' => 'group', 'title' => 'Grupos de Alunos', 'href' => 'grupos_alunos' ], [ 'icon' => 'date_range', 'title' => 'Disponibilidades por Turno', 'href' => 'disponib_turno' ], [ 'icon' => 'calendar_month', 'title' => 'Disponibilidades por Horários', 'href' => 'disponibilidades' ], ] ], [ 'icon'=> 'build', 'title' => 'Parâmetros', 'items' => [ [ 'icon' => 'wb_sunny', 'title' => 'Dias de atendimento', 'href' => 'parametros/dias_semana' ], [ 'icon' => 'brightness_7', 'title' => 'Turnos', 'href' => 'parametros/turnos' ], [ 'icon' => 'schedule', 'title' => 'Horários', 'href' => 'parametros/horarios' ], [ 'icon' => 'gavel', 'title' => 'Comarcas', 'href' => 'parametros/comarca' ], [ 'icon' => 'balance', 'title' => 'Varas', 'href' => 'parametros/vara' ], [ 'icon' => 'person', 'title' => 'Estados Civis', 'href' => 'parametros/estado_civil' ], [ 'icon' => 'engineering', 'title' => 'Profissões', 'href' => 'parametros/profissoes' ], [ 'icon' => 'account_tree', 'title' => 'Tipos de Processo', 'href' => 'parametros/tipo_processo' ], [ 'icon' => 'location_on', 'title' => 'Tipos de Situações', 'href' => 'parametros/situacao' ], [ 'icon' => 'radar', 'title' => 'Tipos de Posição', 'href' => 'parametros/posicao' ], [ 'icon' => 'support_agent', 'title' => 'Tipos de Atendimento', 'href' => 'parametros/tipo_atendimento' ], [ 'icon' => 'checklist_rtl', 'title' => 'Situações de Atendimento', 'href' => 'parametros/situacoes_atendimento' ], [ 'icon' => 'travel_explore', 'title' => 'Estados', 'href' => 'parametros/estados' ], [ 'icon' => 'location_city', 'title' => 'Cidades', 'href' => 'parametros/cidades' ], ] ], [ 'icon'=> 'reorder', 'title' => 'Relatórios', 'items' => [ [ 'icon' => 'analytics', 'title' => 'Usuários', 'href' => 'relatorios/usuarios' ], [ 'icon' => 'analytics', 'title' => 'Assistidos', 'href' => 'relatorios/clientes' ], [ 'icon' => 'analytics', 'title' => 'Atendimentos', 'href' => 'relatorios/atendimentos' ], ] ] ] ]; $menu_lista = array_merge($menu_lista, $admin_items); } @endphp