<?php include "layouts/menu.php"; ?> 
   <?php $hpl=$_REQUEST['hpl'];?>
 
  <?php $fid=$_REQUEST['fid'];?>
  <!--  page-wrapper -->
          <div id="page-wrapper">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header">Dues Deletion</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">
     
  <input type="button" value="Receipt" onclick="PrintElem('#mydiv')"  style="margin:20px;">
  <?php
						$qry=mysqli_query($conn, "select * from user where mfin='$mfin' &&  fid='$fid'");
					$row=mysqli_fetch_array($qry)
					?>
					<div id="mydiv">
   <div class="alert alert-info"><h5>Vehicle No : <?php echo $row['vno'];?></h5></div>
  
                    <form name="form1" method="post" action="" enctype="multipart/form-data">
						
					<table border="0" align="center" cellspacing="5" cellpadding="15" style="table-layout: fixed;" width="400">
					<col width="200px">
					<tbody style="color:#000000;background:white;">
      					<tr>
						<td style="background-color:#56EAF0;"><b>Hpl</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['hpl'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"><b>Name</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['name'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"><b>Due Month</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['no'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"><b>Pay Date</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['paydate'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"><b>Payed Due</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['paymnt'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"><b>Total Paid Due</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['payyr'];?></td>
						</tr>
						
						<tr>
						<td style="background-color:#56EAF0;"><b>Balance Amount</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['bal'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"><b>Paid Amount</b></td>
						<td style="background-color:#56EAF0;"><?php echo $row['urname'];?></td>
						</tr>
						<tr>
						<td style="background-color:#56EAF0;"></td>						
						<td style="background-color:#56EAF0;"><button type="submit" class="btn btn-default" name="s1">***XXX***</button></td>
						</tr>
						</div>
						
							<div class="alert alert-warning"><?php include "programs/ddelete.php"; ?></div>
						
						
																
					</tbody>
					<?php
					
				
			?>			
					</table>
					</form>
          

 
 
</div>
</div></div>
</div></div></div><?php include "layouts/footer.php"; ?></body></html>