<li class="menu <?php echo $this->uri->segment(2) == 'laporan' ? 'active' : '' ?>">
    <a href="#laporan_arisan_semua" data-toggle="collapse"
        aria-expanded="<?php echo $this->uri->segment(2) == 'laporan' ? '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-clipboard">
                <path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path>
                <rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>
            </svg>
            <span>Laporan</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' ? 'recent-submenu mini-recent-submenu' : '' ?> list-unstyled <?php echo $this->uri->segment(2) == 'laporan' ? 'show' : '' ?>"
        id="laporan_arisan_semua" data-parent="#accordionExample">
        <li class="<?php echo $this->uri->segment(3) == 'laporan_heboh' ? 'active' : '' ?>">
            <a href="<?= base_url('arisan/laporan/laporan_heboh') ?>"> Arisan Heboh </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'laporan_motor' ? 'active' : '' ?>">
            <a href="<?= base_url('arisan/laporan/laporan_motor') ?>"> Arisan Motor </a>
        </li>
    </ul>
</li>