<li class="menu <?php echo $this->uri->segment(2) == 'kas' ? 'active' : '' ?>">
    <a href="#kelola_kas_koperasi" data-toggle="collapse"
        aria-expanded="<?php echo $this->uri->segment(2) == 'kas' ? '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-book">
                <path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
                <path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
            </svg>
            <span>Buku Kas</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) == 'kas' ? 'recent-submenu mini-recent-submenu' : '' ?> list-unstyled <?php echo $this->uri->segment(2) == 'kas' ? 'show' : '' ?>"
        id="kelola_kas_koperasi" data-parent="#accordionExample">
        <li class="<?php echo $this->uri->segment(3) == 'anggaran_dasar' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/kas/anggaran_dasar') ?>"> Anggaran Dasar </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'umum' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/kas/umum') ?>"> Kas Umum </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'produk_koperasi' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/kas/produk_koperasi') ?>">Kas Koperasi </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'produk_arisan' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/kas/produk_arisan') ?>">Kas Arisan </a>
        </li>
    </ul>
</li>