<li class="menu <?php echo $this->uri->segment(2) == 'pembayaran_angsuran' ? 'active' : '' ?>">
    <a href="<?= base_url('kasir/pembayaran_angsuran') ?>" aria-expanded="<?php echo $this->uri->segment(2) == 'pembayaran_angsuran' ? 'true' : 'false' ?>" class="dropdown-toggle">
        <div class="">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-box">
                <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z">
                </path>
                <polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline>
                <line x1="12" y1="22.08" x2="12" y2="12"></line>
            </svg>
            <span>Angsuran</span>
        </div>
        <?php if ($notif['angs_mingguan']['angs_mingguan'] + $notif['angs_2mingguan']['angs_2mingguan'] + $notif['angs_bulanan']['angs_bulanan'] + $notif['angs_musiman']['angs_musiman'] + $notif['angs_abulanan']['angs_abulanan'] + $notif['angs_kbulanan']['angs_kbulanan'] > 0) : ?>
            <span class="badge badge-danger counter" style="position: static;"><?= ($notif['angs_mingguan']['angs_mingguan'] + $notif['angs_2mingguan']['angs_2mingguan'] + $notif['angs_bulanan']['angs_bulanan'] + $notif['angs_musiman']['angs_musiman'] + $notif['angs_abulanan']['angs_abulanan'] + $notif['angs_kbulanan']['angs_kbulanan']) ?></span>
        <?php endif; ?>
    </a>
</li>