


<div id="sb-overlay" class="sb-overlay"></div>

<div id="sidebar-wrapper">

    
    <button class="sidebar-close-mobile" id="sidebarCloseMobile" aria-label="Fechar menu">
        <i class="fas fa-times"></i>
    </button>

    
    <a href="<?php echo e(route('dashboard')); ?>" class="sb-logo">
        <div class="sb-logo-badge">
            <img src="<?php echo e(asset('assets/images/sinagem-logo.png')); ?>"
                 alt="SINAGEM"
                 onerror="this.style.display='none';this.nextElementSibling.style.display='flex'">
            <div class="sb-initials" style="display:none;">SNG</div>
        </div>
        <div class="sb-logo-text">
            <div class="sb-brand">SINAGEM</div>
            <div class="sb-tagline">Gestão de Mercados</div>
        </div>
    </a>

    
    <nav class="sb-nav">

        <div class="sb-section">Principal</div>

        
        <div class="sb-item">
            <a href="<?php echo e(route('dashboard')); ?>"
               class="sb-link <?php echo e(request()->routeIs('dashboard') ? 'active' : ''); ?>"
               data-title="Dashboard">
                <i class="fas fa-tachometer-alt sb-icon"></i>
                <span class="sb-label">Dashboard</span>
            </a>
        </div>

        <div class="sb-section">Gestão</div>

        
        <div class="sb-item">
            <button class="sb-link"
                    type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#sb-mercado"
                    aria-expanded="<?php echo e(request()->routeIs('mercado.*') ? 'true' : 'false'); ?>"
                    data-title="Mercado">
                <i class="fas fa-store sb-icon"></i>
                <span class="sb-label">Mercado</span>
                <i class="fas fa-chevron-down sb-arrow"></i>
            </button>
        </div>
        <div id="sb-mercado" class="collapse sb-submenu <?php echo e(request()->routeIs('mercado.*') ? 'show' : ''); ?>">
            <div class="sb-sub">
                <a href="<?php echo e(route('mercado.mercados.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('mercado.mercados.*') ? 'active' : ''); ?>">
                    <i class="fas fa-store"></i> Mercados
                </a>
                <a href="<?php echo e(route('mercado.comerciantes.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('mercado.comerciantes.*') ? 'active' : ''); ?>">
                    <i class="fas fa-users"></i> comerciantes
                </a>
                <a href="<?php echo e(route('mercado.bancadas.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('mercado.bancadas.*') ? 'active' : ''); ?>">
                    <i class="fas fa-th"></i> Bancadas
                </a>
                 <a href="<?php echo e(route('mercado.bancadas.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('mercado.bancadas.*') ? 'active' : ''); ?>">
                    <i class="fas fa-th"></i> Estabelecimentos
                </a>
                <a href="<?php echo e(route('mercado.pescadores.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('mercado.pescadores.*') ? 'active' : ''); ?>">
                    <i class="fas fa-fish"></i> Pescadores
                </a>
                <a href="<?php echo e(route('mercado.escamadores.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('mercado.escamadores.*') ? 'active' : ''); ?>">
                    <i class="fas fa-cut"></i> Escamadores
                </a>
            </div>
        </div>

        
        <div class="sb-item">
            <button class="sb-link"
                    type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#sb-pesca"
                    aria-expanded="<?php echo e(request()->routeIs('pesca.*') ? 'true' : 'false'); ?>"
                    data-title="Pesca">
                <i class="fas fa-water sb-icon"></i>
                <span class="sb-label">Pesca</span>
                <i class="fas fa-chevron-down sb-arrow"></i>
            </button>
        </div>
        <div id="sb-pesca" class="collapse sb-submenu <?php echo e(request()->routeIs('pesca.*') ? 'show' : ''); ?>">
            <div class="sb-sub">
                <a href="<?php echo e(route('pesca.pescado.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('pesca.pescado.*') ? 'active' : ''); ?>">
                    <i class="fas fa-fish"></i> Pescado
                </a>
                <a href="<?php echo e(route('pesca.embarques.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('pesca.embarques.*') ? 'active' : ''); ?>">
                    <i class="fas fa-ship"></i> Embarques
                </a>
                <a href="<?php echo e(route('pesca.desembarques.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('pesca.desembarques.*') ? 'active' : ''); ?>">
                    <i class="fas fa-anchor"></i> Desembarques
                </a>
                <a href="<?php echo e(route('pesca.rastreio.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('pesca.rastreio.*') ? 'active' : ''); ?>">
                    <i class="fas fa-map-marker-alt"></i> Rastreio
                </a>
            </div>
        </div>

        
        <div class="sb-item">
            <button class="sb-link"
                    type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#sb-financas"
                    aria-expanded="<?php echo e(request()->routeIs('financas.*') ? 'true' : 'false'); ?>"
                    data-title="Finanças">
                <i class="fas fa-coins sb-icon"></i>
                <span class="sb-label">Finanças</span>
                <i class="fas fa-chevron-down sb-arrow"></i>
            </button>
        </div>
        <div id="sb-financas" class="collapse sb-submenu <?php echo e(request()->routeIs('financas.*') ? 'show' : ''); ?>">
            <div class="sb-sub">
                <a href="<?php echo e(route('financas.taxas.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('financas.taxas.*') ? 'active' : ''); ?>">
                    <i class="fas fa-tags"></i> Taxas
                </a>
                <a href="<?php echo e(route('financas.pagamentos.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('financas.pagamentos.*') ? 'active' : ''); ?>">
                    <i class="fas fa-credit-card"></i> Pagamentos
                </a>
                <a href="<?php echo e(route('financas.relatorios.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('financas.relatorios.*') ? 'active' : ''); ?>">
                    <i class="fas fa-chart-line"></i> Relatórios financeiros
                </a>
            </div>
        </div>

        
        <div class="sb-item">
            <button class="sb-link"
                    type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#sb-ocorrencias"
                    aria-expanded="<?php echo e(request()->routeIs('ocorrencias.*') ? 'true' : 'false'); ?>"
                    data-title="Ocorrências">
                <i class="fas fa-exclamation-triangle sb-icon"></i>
                <span class="sb-label">Ocorrências</span>
                <i class="fas fa-chevron-down sb-arrow"></i>
            </button>
        </div>
        <div id="sb-ocorrencias" class="collapse sb-submenu <?php echo e(request()->routeIs('ocorrencias.*') ? 'show' : ''); ?>">
            <div class="sb-sub">
                <a href="<?php echo e(route('ocorrencias.mercado.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('ocorrencias.mercado.*') ? 'active' : ''); ?>">
                    <i class="fas fa-store"></i> Mercado
                </a>
                <a href="<?php echo e(route('ocorrencias.pesca.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('ocorrencias.pesca.*') ? 'active' : ''); ?>">
                    <i class="fas fa-water"></i> Pescas
                </a>
            </div>
        </div>

        <div class="sb-section">Administração</div>

        
        <div class="sb-item">
            <button class="sb-link"
                    type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#sb-utilizadores"
                    aria-expanded="<?php echo e(request()->routeIs('utilizadores.*') ? 'true' : 'false'); ?>"
                    data-title="Utilizadores">
                <i class="fas fa-users-cog sb-icon"></i>
                <span class="sb-label">Utilizadores</span>
                <i class="fas fa-chevron-down sb-arrow"></i>
            </button>
        </div>
        <div id="sb-utilizadores" class="collapse sb-submenu <?php echo e(request()->routeIs('utilizadores.*') ? 'show' : ''); ?>">
            <div class="sb-sub">
                <a href="<?php echo e(route('utilizadores.administradores.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('utilizadores.administradores.*') ? 'active' : ''); ?>">
                    <i class="fas fa-user-shield"></i> Administrador
                </a>
                <a href="<?php echo e(route('utilizadores.fiscais.index')); ?>"
                   class="sb-sub-link <?php echo e(request()->routeIs('utilizadores.fiscais.*') ? 'active' : ''); ?>">
                    <i class="fas fa-user-check"></i> Fiscal
                </a>
            </div>
        </div>

    </nav>

    
    <div class="sb-footer">
        <div class="sb-item">
            <a href="<?php echo e(route('sistema.configuracoes')); ?>"
               class="sb-link <?php echo e(request()->routeIs('sistema.*') ? 'active' : ''); ?>"
               data-title="Configurações">
                <i class="fas fa-sliders-h sb-icon"></i>
                <span class="sb-label">Configurações</span>
            </a>
        </div>
    </div>

</div>
<?php /**PATH /var/www/html/resources/views/admin/partials/sidebar.blade.php ENDPATH**/ ?>