<?php include "layouts/menu.php"; ?> <div class="right_col" role="main">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header  alert alert-info">Debite Details</h1>
                </div>
                <!--end page header -->
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                             Details
                        </div>
                        <div class="panel-body">
                            <div class="row">
  
   <div class="alert alert-info">Debite Details</div>
  
                    <?php
					
						$qry=mysqli_query($conn, "select * from debit where mfin='$mfin'");
						$n=mysqli_num_rows($qry);
						if($n==0)
						{
							echo "Nothing To Display";
						}
						else
					{ 
						?></p>
					<table class="table table-striped" table class="table" border="0" align="center" cellspacing="0" cellpadding="10" >
					<col width="100px">
						<tr class="danger" style="color:purple;">
						<th>Id</th>
						<th></th>
						<th>Amount</th>
						<th></th>
						<th>Date</th>
						<th></th>
						<th>Purpose</th>
						<th></th>
						<th>More Details</th>
					</tr>
					<?php 
					while($row=mysqli_fetch_array($qry))
						{
					?>
					<tr class="warning">
					<col width="100px">
					<td><?php echo $row['did'];?></td>
						<td></td>
						<td><?php echo $row['debit'];?></td>
						<td></td>
						<td><?php echo $row['date']; ?></td>
						<td></td>
						<td><?php echo $row['details'];?></td>
						<td></td>
						<td><a href="debitdel.php?did=<?php echo $row['did'];?>&details=<?php echo $row['details'];?>">More Info</a></td>
					</tr>
					<?php
						}
					}
				
					?>
					</table>
					
</div>
</div></div>
</div></div></div> <?php include "layouts/footer.php"; ?></body></html>
