<?php $this->load->view('theme/include/header'); ?>
<!--Start Main Content-->
<section>
<div class="main-content">
<div class="row">
<div class="col-md-12 col-lg-12 col-sm-12 content-title"><h4>Dashboard</h4></div>
<?php if(user_type()=="admin"){ ?>
<div class="clo-md-3 col-lg-3 col-sm-6">
<div class="card-box">
    <div class="box-callout-green">
        <div class="leftside-cart">
            <i class="ion-checkmark-circled cart-icon"></i>
        </div>
        <div class="rightside-cart">
            <p class="card-head">Active Agent<br>
                <span class="card-value"><?php echo get_agent_count('active') ?></span></p>
        </div>
    </div>
</div>
</div>
<?php } ?>


<div class="clo-md-3 col-lg-3 col-sm-6">
<div class="card-box">
    <div class="box-callout-orange">
        <div class="leftside-cart">
            <i class="ion-minus-circled cart-icon"></i>
        </div>
        <div class="rightside-cart">
            <p class="card-head">Active Sending<br>
                <span class="card-value"><?php echo get_transfer_count(); ?></span></p>
        </div>
    </div>
</div>
</div>

<div class="clo-md-3 col-lg-3 col-sm-6">
<div class="card-box">
    <div class="box-callout-green">
        <div class="leftside-cart">
            <i class="ion-checkmark-circled cart-icon"></i>
        </div>
        <div class="rightside-cart">
            <p class="card-head">Payment Complete<br>
                <span class="card-value"><?php echo get_paid_count(); ?></span></p>
        </div>
    </div>
</div>
</div>


<div class="clo-md-3 col-lg-3 col-sm-6">
<div class="card-box">
    <div class="box-callout-orange">
        <div class="leftside-cart">
            <i class="ion-minus-circled cart-icon"></i>
        </div>
        <div class="rightside-cart">
            <p class="card-head">Cancle Transfer<br>
                <span class="card-value"><?php echo get_cancle_count(); ?></span></p>
        </div>
    </div>
</div>
</div>

</div>
<!--End Card box-->



</div>
</section>
<!--End Main-content-->

<?php $this->load->view('theme/include/footer'); ?>

<script type="text/javascript">
$(document).ready(function() {

$(".financial-bal").niceScroll({
cursorwidth: "8px",cursorcolor:"#7f8c8d"
});

});

</script>
</body>

</html>
