<li class="menu <?php echo $this->uri->segment(2) == 'sistem' ? 'active' : '' ?>">
    <a href="#kelola_data_sistem" data-toggle="collapse"
        aria-expanded="<?php echo $this->uri->segment(2) == 'sistem' ? '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-settings">
                <circle cx="12" cy="12" r="3"></circle>
                <path
                    d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z">
                </path>
            </svg>
            <span>Data Sistem</span>
        </div>
        <div>
            <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-chevron-right">
                <polyline points="9 18 15 12 9 6"></polyline>
            </svg>
        </div>
    </a>
    <ul class="collapse submenu <?php echo $this->uri->segment(2) == 'sistem' ? 'recent-submenu mini-recent-submenu' : '' ?> list-unstyled <?php echo $this->uri->segment(2) == 'sistem' ? 'show' : '' ?>"
        id="kelola_data_sistem" data-parent="#accordionExample">
        <li class="<?php echo $this->uri->segment(3) == 'karyawan' ? 'active' : '' ?>">
            <a href="<?= base_url('keuangan/sistem/karyawan') ?>"> Karyawan </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'anggota' ? 'active' : '' ?>">
            <a href="<?= base_url('keuangan/sistem/anggota') ?>"> Anggota </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'aturan_pinjaman' ? 'active' : '' ?>">
            <a href="<?= base_url('keuangan/sistem/aturan_pinjaman') ?>"> Aturan Pinjaman </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'pinjaman_karyawan' ? 'active' : '' ?>">
            <a href="<?= base_url('keuangan/sistem/pinjaman_karyawan') ?>"> Pinjaman Karyawan </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'arisan' ? 'active' : '' ?>">
            <a href="<?= base_url('keuangan/sistem/arisan') ?>"> Arisan </a>
        </li>
    </ul>
</li>