Current File : /home/inlingua/public_html/sensoriumpsychologists.com/student/payment.php |
<?php
include_once("common/head_links.php");
include_once("../classes/config.php");
?>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<?php include_once("common/header.php");?>
<?php include_once("common/left_side_bar.php");?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
</h1>
</section>
<!-- Main content -->
<section class="content">
<?php
$id=$session_row['student_id'];
$result=$query->select_where('shristi_students_payment','student_id',$id); ?>
<!-- Info boxes -->
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10 col-sm-8 col-xs-8">
<table class="student table table-striped">
<tr>
<td colspan="11"> <h1>Payment Details</h1></td></tr>
<tr>
<th>Ref No.</th>
<th>Payment Mode</th>
<th>Total Amount</th>
<th>Payment Date</th>
<th>Next Due Date</th>
<th>Payment Status</th>
<th>Payment Type</th>
<th>Payment Date</th>
</tr>
<?php while ($row=$result->fetch_assoc()){ ?>
<tr>
<td><?php echo $row['ref_no'];?></td>
<td>
<?php echo $row['payment_mode'];
if($row['payment_mode']=="DD"){
echo $row['dd_no'];
}
if($row['paymet_date']==""){
$paymet_date="N/A";
}else {
$paymet_date =$row['paymet_date'];
}
if($row['next_due_date']==""){
$next_due_date="N/A";
}else {
$next_due_date =$row['next_due_date'];
}
?>
</td>
<td><?php echo $row['amount'];?></td>
<td><?php echo $paymet_date;?></td>
<td><?php echo $next_due_date;?></td>
<td><?php echo $row['status'];?></td>
<td><?php if ($row['assignment_id']>0) { echo 'Assignment Id '.$row['assignment_id']; } ?></td>
<td><?php echo $row['cerated_at'];?></td>
</tr>
<?php }?>
</table>
</div>
<div class="col-md-1"></div>
</div>
</section>
</div>
<?php include_once("common/footer.php");?>
</div><!-- ./wrapper -->
<?php include_once("common/footer_links.php");?>
</body>
</html>