<?php
$activeMenu = $activeMenu ?? '';
?>
<aside class="sidebar bg-dark text-white d-flex flex-column">
    <div class="sidebar-brand px-4 py-3 border-bottom border-secondary">
        <span class="fw-bold text-uppercase">WISHNET</span>
    </div>
    <nav class="sidebar-nav flex-grow-1 px-2">
        <a class="sidebar-link <?php echo $activeMenu === 'dashboard' ? 'active' : ''; ?>" href="<?php echo base_url('dashboard.php'); ?>">
            <i class="fa-solid fa-gauge"></i> <span>Dashboard</span>
        </a>
        <a class="sidebar-link <?php echo $activeMenu === 'clients' ? 'active' : ''; ?>" href="<?php echo base_url('modules/client/index.php'); ?>">
            <i class="fa-solid fa-users"></i> <span>Manajemen Pelanggan</span>
        </a>
        <a class="sidebar-link <?php echo $activeMenu === 'packages' ? 'active' : ''; ?>" href="<?php echo base_url('modules/package/index.php'); ?>">
            <i class="fa-solid fa-box"></i> <span>Manajemen Paket</span>
        </a>
        <a class="sidebar-link <?php echo $activeMenu === 'payments' ? 'active' : ''; ?>" href="<?php echo base_url('modules/payment/index.php'); ?>">
            <i class="fa-solid fa-money-bill-wave"></i> <span>Manajemen Pembayaran</span>
        </a>
        <a class="sidebar-link <?php echo $activeMenu === 'reports' ? 'active' : ''; ?>" href="<?php echo base_url('modules/report_payment/index.php'); ?>">
            <i class="fa-solid fa-chart-line"></i> <span>Laporan Pembayaran</span>
        </a>
    </nav>
    <div class="sidebar-footer px-3 py-2 border-top border-secondary small text-muted">
        &copy; <?php echo date('Y'); ?> WISHNET - Billing System
    </div>
</aside>


