<style>
    .card .nav.flex-column:not(.nav-sidebar)>li {
        border-bottom: 1px solid rgba(0, 0, 0, .125);
        margin: 0
    }

    .card .nav.flex-column:not(.nav-sidebar)>li:last-of-type {
        border-bottom: 0
    }

    .card.height-control .card-body {
        max-height: 300px;
        overflow: auto
    }

    .card .border-right {
        border-right: 1px solid rgba(0, 0, 0, .125)
    }

    .m-1 {
        margin: .25rem !important;
    }

    .flex-column {
        -ms-flex-direction: column !important;
        flex-direction: column !important;
    }

    .card {
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
        margin-bottom: 1rem;
    }

    .card-header {
        background-color: rgba(0, 0, 0, .03);
        border-bottom: 0 solid rgba(0, 0, 0, .125);
        border-radius: 0.25rem 0.25rem 0 0;
    }

    .card-body {
        padding: 1.25rem;
    }

    .nav-item {
        margin-bottom: 0.75rem;
    }

    .nav-link {
        color: #333;
    }

    .nav-link:hover {
        color: #007bff;
        text-decoration: none;
    }

    .thumb {
        display: flex;
        align-items: center;
    }

    .thumb i {
        margin-right: 0.5rem;
    }

    .nav {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }
</style>
<div class="card settings-card no-print">
    <div class="card-body">
        <ul class="nav flex-column nav-pills m-1">

            <?php if ($CI->permissions('company_edit')) { ?>
                <li class="company-profile-active-li"><a href="<?php echo $base_url; ?>company"> <i class="fa-lg  fas fa-building text-danger"></i>
                        <span class="ml-5"><?= $this->lang->line('company_profile'); ?></span></a></li>
            <?php } ?>

            <?php if ($CI->permissions('site_edit')) { ?>
                <li class="site-settings-active-li"><a href="<?php echo $base_url; ?>site">
                        <i class="fas fa-desktop text-danger fa-lg"></i> <span class="ml-5"><?= $this->lang->line('site_settings'); ?></span></a>
                </li>
            <?php } ?>
            <?php if ($CI->permissions('send_sms')) { ?>
                <li class="sms-active-li"><a href="<?php echo $base_url; ?>sms"><i class="fa fa-envelope-o fa-lg text-danger"></i>
                        <span class="ml-5"><?= $this->lang->line('send_sms'); ?></span></a></li>
            <?php } ?>
            <?php if ($CI->permissions('sms_template_view')) { ?>
                <li class="sms-templates-list-active-li sms-template-active-li"><a href="<?php echo $base_url; ?>templates/sms"><i class="fas fa-envelope fa-lg text-danger"></i>
                        <span class="ml-5"><?= $this->lang->line('sms_templates'); ?></span></a></li>
            <?php } ?>
            <?php if ($CI->permissions('sms_api_view')) { ?>
                <li class="sms-api-active-li"><a href="<?php echo $base_url; ?>sms/api"><i class="fas fa-mobile-alt fa-lg text-danger"></i>
                        <span class="ml-5"><?= $this->lang->line('sms_api'); ?></span></a></li>
            <?php } ?>
            <?php if ($CI->permissions('places_view')) { ?>
                <li class="country-list-active-li country-active-li"><a href="<?php echo $base_url; ?>country"><i class="fas fa-globe fa-lg text-danger"></i> <span class="ml-5"><?= $this->lang->line('countries_list'); ?></span></a>
                </li>
            <?php } ?>
            <?php if ($CI->permissions('places_view')) { ?>
                <li class="state-list-active-li state-active-li"><a href="<?php echo $base_url; ?>state"><i class="fas fa-map-marker-alt text-danger fa-lg "></i> <span class="ml-5"><?= $this->lang->line('states_list'); ?></span></a></li>
            <?php } ?>


            <?php if ($CI->permissions('tax_view')) { ?>
                <li class="tax-active-li  tax-list-active-li"><a href="<?php echo $base_url; ?>tax"> <i class="fas fa-file-invoice-dollar fa-lg text-danger"></i>
                        <span class="ml-5"><?= $this->lang->line('tax_list'); ?></span></a></li>
            <?php } ?>
            <?php if ($CI->permissions('units_view')) { ?>
                <li class="units-list-active-li unit-active-li"><a href="<?php echo $base_url; ?>units/"><i class="fa-lg fas fa-balance-scale text-danger"></i>
                        <span class="ml-5"><?= $this->lang->line('units_list'); ?></span></a></li>
            <?php } ?>

            <?php if ($CI->permissions('payment_types_view')) { ?>
                <li class="payment_types_list-active-li payment_types-active-li"><a href="<?php echo $base_url; ?>payment_types/"> <i class="fas fa-credit-card text-danger fa-lg"></i>

                        <span class="ml-5"><?= $this->lang->line('payment_types_list'); ?></span></a></li>
            <?php } ?>

            <?php if ($CI->permissions('currency_view')) { ?>
                <li class="currency-view-active-li currency-active-li"><a href="<?php echo $base_url; ?>currency/view"> <i class="fas fa-dollar-sign fa-lg text-danger"></i>

                        <span class="ml-5"><?= $this->lang->line('currency_list'); ?></span></a></li>
            <?php } ?>
            <li class="change-pass-active-li"><a href="<?php echo $base_url; ?>users/password_reset"><i class="fa fa-lock fa-lg text-danger"></i> <span class="ml-5"><?= $this->lang->line('change_password'); ?></span></a>
            </li>
  


        </ul>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function() {
        $(".openRestoreModal").click(function() {
            $("#restoreModal").modal('show');
        });
    });
</script>