<li class="menu <?php echo $this->uri->segment(2) == 'pinjaman_karyawan' ? 'active' : '' ?>">
    <a href="#kelola_pinjaman_karyawan" data-toggle="collapse"
        aria-expanded="<?php echo $this->uri->segment(2) == 'pinjaman_karyawan' ? '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>Karyawan</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) == 'laporan_arisan' ? 'recent-submenu mini-recent-submenu' : '' ?> list-unstyled <?php echo $this->uri->segment(2) == 'laporan_arisan' ? 'show' : '' ?>"
        id="kelola_pinjaman_karyawan" data-parent="#accordionExample">
        <li class="<?php echo $this->uri->segment(3) == 'pp' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/pinjaman_karyawan/pp') ?>"> Pengajuan </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'pa' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/pinjaman_karyawan/pa') ?>"> Aktif </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'ph' ? 'active' : '' ?>">
            <a href="<?= base_url('owner/pinjaman_karyawan/ph') ?>"> History </a>
        </li>
    </ul>
</li>