<nav class="mt-2 ">
    <ul class="nav nav-pills nav-sidebar nav-child-indent flex-column nav-lime" data-widget="treeview" role="menu" data-accordion="false">
        <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
        <li class="nav-item menu-open">
            <a <?php echo $link->page('beranda'); ?> class="nav-link active">
                <i class="nav-icon bi bi-shop"></i>
                <p>
                    Dashboard

                </p>
            </a>
        </li>

        <li class="nav-item">
            <a href="#" class="nav-link">
                <i class="nav-icon bi bi-columns-gap small"></i>
                <p>
                    Pengaturan
                    <i class="fas fa-angle-left right"></i>

                </p>
            </a>
            <ul class="nav nav-treeview">

                <li class="nav-item ">
                    <a <?php echo $link->page('seting/kegiatan/kegiatan_read'); ?> class="nav-link">
                        <i class="bi bi-card-checklist small nav-icon"></i>
                        <p>Kode Kegiatan </p>
                    </a>
                </li>
                <li class="nav-item ">
                    <a <?php echo $link->page('seting/akun/akun_read'); ?> class="nav-link">
                        <i class="bi bi-card-list small nav-icon"></i>
                        <p>Kode Akun </p>
                    </a>
                </li>

            </ul>
        </li>
        <li class="nav-item">
            <a <?php echo $link->page('rkas/index'); ?> class="nav-link">
                <i class="nav-icon bi bi-receipt-cutoff"></i>
                <p>RKAS/M</p>
            </a>
        </li>


        <li class="nav-item">
            <a href="#" class="nav-link">
                <i class="nav-icon bi bi-bar-chart-line"></i>
                <p>Laporan<i class="right fas fa-angle-left"></i></p>
            </a>
            <ul class="nav nav-treeview">

                <li class="nav-item">
                    <a href="#" class="nav-link">
                        <i class="nav-icon bi bi-journal-text"></i>
                        <p>Laporan Realisasi <i class="right fas fa-angle-left"></i></p>
                    </a>
                    <ul class="nav nav-treeview">
                        <li class="nav-item">
                            <a <?php echo $link->page('laporan/realisasi/periodik/laporan'); ?> class="nav-link">
                                <i class="nav-icon bi bi-journal-text"></i>
                                <p>Realisasi Bulanan</p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a <?php echo $link->page('laporan/realisasi/rekap/laporan'); ?> class="nav-link">
                                <i class="nav-icon bi bi-journal-text"></i>
                                <p>Rekap Realisasi</p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a <?php echo $link->page('laporan/realisasi/akun/laporan'); ?> class="nav-link">
                                <i class="nav-icon bi bi-journal-text"></i>
                                <p>Realisasi per Akun</p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a <?php echo $link->page('laporan/realisasi/pendapatan/laporan'); ?> class="nav-link">
                                <i class="nav-icon bi bi-journal-text"></i>
                                <p>Penggunaan Pendapatan</p>
                            </a>
                        </li>
                    </ul>
                </li>

            </ul>
        </li>
        <li class="nav-item">
            <a href="#" class="nav-link">
                <i class="nav-icon bi bi-tools"></i>
                <p>Utility<i class="right fas fa-angle-left"></i></p>
            </a>
            <ul class="nav nav-treeview">
                <li class="nav-item">
                    <a <?php echo $link->page('rkas/revisi_read'); ?> class="nav-link">
                        <i class="nav-icon bi bi-front"></i>
                        <p>History [Revisi] RKAS/M</p>
                    </a>
                </li>

            </ul>
        </li>

        <li class="nav-item">
            <a <?php echo $link->page('tutorial/index'); ?> class="nav-link">
                <i class="nav-icon bi bi-newspaper"></i>
                <p>Tutorial</p>
            </a>
        </li>

        <li class="nav-item">
            <a <?php echo $link->page('logout'); ?> class="nav-link">
                <i class="nav-icon bi bi-power"></i>
                <p>Logout</p>
            </a>
        </li>
    </ul>
</nav>