<?php
       //get current session
       $session = get_current_session_4($id = 4);


?>
    <div style="height:20px; displat:block;"></div>

    <ul class="breadcrumb">

        <li class="active" ><a href="#">Payments</a> <span class="divider"></span> </li>
    </ul>


<div class="well">
    <div class="row">
         <div class="col-lg-12">


          <div class="col-lg-3 col-sm-4 col-xs-6" align="center"><a title="Pay Summer Fee" data-toggle="tooltip" href="dashboard.php?act=summer_fee_payments&qlk=<?php echo md5(2); ?>"><img  class="thumbnail img-responsive" src="images/school_fee_payments.png">
         <br/>|<br/>
          <strong>Summer Application Fee</strong></a>

          </div>


          <?php if(has_paid_summer_fee($user_id, $session, $semester )){ ?>
          <div class="col-lg-3 col-sm-4 col-xs-6" align="center"><a title="Pay School Fee" data-toggle="tooltip" href="dashboard.php?act=school_fee_payments&qlk=<?php echo md5(2); ?>"><img  class="thumbnail img-responsive" src="images/school_fee_payments.png">
         <br/>|<br/>
          <strong>School Fee</strong></a>

          </div>


        <?php } ?>


          <!-- <div class="col-lg-3 col-sm-4 col-xs-6" align="center"><a title="Pay School Fee" data-toggle="tooltip" href="dashboard.php?act=school_fee_payments&qlk=<?php echo md5(2); ?>"><img  class="thumbnail img-responsive" src="images/school_fee_payments.png">
         <br/>|<br/>
          <strong>School Fee</strong></a>

          </div> -->


        <?php /*?>   <div class="col-lg-3 col-sm-4 col-xs-6"><a title="Pay Hostel Accommodation Fee" data-toggle="tooltip" href="dashboard.php?act=hostel_fee_payments&qlk=<?php echo md5(2); ?>"><img  class="thumbnail img-responsive" src="images/hostel_fee_payments.png">
          <h5 class="text-center help-block">Accommodation Fee</h5></a>

          </div>

           <div class="col-lg-3 col-sm-4 col-xs-6"><a title="Pay Result Fee" data-toggle="tooltip" href=""><img  class="thumbnail img-responsive" src="images/result_fee_payments.png">
            <h5 class="text-center help-block">Result Fee</h5></a></div><?php */?>

        </div><!-- /.col lg 12 -->


        <!-- give space -->
        <div style="height:20px;"></div>
        <div class="col-lg-12">

            <hr/>


        </div>


          <div class="col-lg-12 col-xs-6">

            <h3 class="help-block">My Invoices  <a class="btn btn-danger btn-sm" href="#" data-toggle="modal" data-target="#myModallTLOG"> Re-query Transaction Status</a></h3>
            <p class="help-block">Your invoice history with us </p>


          	<?php



            echo view_invoices($user_id,$invoice_type = 22, $session); //user id, invoice type 2 for returning student ?>

        </div><!-- /.col lg 12 -->


    </div><!-- /.row -->
</div><!-- /well -->
