<br />
<br />
<?php

         
           $cur_ses = get_current_session($conn_1, $ses = 1);
?>
<section class="content-header">
            <h1>FINANCIAL REPORT </h1>
            <ol class="breadcrumb">
                <li class="breadcrumb-item pt-1"><a href="dashboard"><i class="fa fa-fw fa-home"></i> Dashboard</a>
                </li>

            </ol>
        </section>
        <!-- Main content -->
        <section class="content p-l-r-15">
            <div class="row">
                <div class="col-12">
                    <div class="card border-primary ">
                        <div class="card-header text-white  bg-primary">
                            <h4 class="card-title d-inline">
                                <i class="fa fa-fw fa-News"></i> HOSTEL FEE (DUAP - UDUS)
                            </h4>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive table-responisve-lg table-responsive-xl">
                              <span data-toggle="tooltip" title="Total Applicants"><a href="dashboard.php?hub=all_listing&id=4"  class="btn btn-success" target="_blank"> All Students <i class="badge">
                    <?php echo get_all_total_applicants_udus($conn_2); ?></i></a></span> &nbsp;&nbsp;&nbsp;

                  <span data-toggle="tooltip" title="Total Paid Applicants"><a href="dashboard.php?hub=view_paid_applicants_app_fees&pt=4"  class="btn btn-success" target="_new"> Total Paid Students <i class="badge">
                    <?php echo get_total_applicants($conn_1, $type = 4); ?></i></a></span> &nbsp;&nbsp;&nbsp;
                    
                     <span data-toggle="tooltip" title="Total Amount Generated"><a href="#"  class="btn btn-success" target="_new"> Total Amount Generated <i class="badge">
                    <?php echo'N'.number_format(get_total_amount_paid_per_session($conn_1, $type=4,$cur_ses)); ?></i></a></span> &nbsp;&nbsp;&nbsp;
                    
                    <br><br>
                    <div class="alert alert-warning">
                        <span class="fa fa-exclamation-triangle"></span>
                           Report on Applied Department / Programmes  (Degree)<br>

                          Click on each tab to view list of applied candidates

                      </div>

                      <?php echo get_programme_list_duap($conn_2, $conn_1, $pt = 1, $type= '4'); //pass programme type ?>



                          <hr />

                            </div>
                        </div>
                    </div>
                </div>





            </div>
            <!-- row-->

        </section>
