<?php include "layouts/menu.php"; ?> 
     <?php $dcid=$_REQUEST['dcid'];?>
  <!--  page-wrapper -->
         <div class="right_col" role="main">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header">Documentation Charge</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 id="mydiv">
  <input type="button" value="Print" onclick="PrintElem('#mydiv')"  style="margin:20px;">
  
   <div class="alert alert-info">Monthly Due Details</div>
  
                    <form name="form1" method="post" action="" enctype="multipart/form-data">
						<?php
						$qry=mysqli_query($conn, "select * from dc where mfin='$mfin' &&  dcid='$dcid'");
						?>
					<?php 
					$row=mysqli_fetch_array($qry)
					?>
					<table border="0" align="center" cellspacing="0" cellpadding="10" style="table-layout: fixed;" width="500">
					<col width="100px">
					<tbody style="color:#FF0080;background:white;">
      					<tr>
						<td style="background-color:#FFAAAA;">Hpl</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['hpl'];?></td>
						</tr>
						 <tr>
						<td style="background-color:#FFAAAA;">Credit</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['credit'];?></td>
						</tr>
						 <tr>
						<td style="background-color:#FFAAAA;">Debit</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['debit'];?></td>
						</tr>
						<tr>
						<td style="background-color:#FFAAAA;">Balance</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['bal'];?></td>
						</tr>
						<tr>
						<td style="background-color:#FFAAAA;">Date</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['date'];?></td>
						</tr>
						<tr>
						<td style="background-color:#FFAAAA;">Delete</td>						
						<td style="background-color:#FFD4FF;"><button type="submit" class="btn btn-default" name="s1">Delete</button></td>
						</tr>
						
						
							<div class="alert alert-warning"><?php include "programs/ddc.php"; ?></div>
						
						
																
					</tbody>
					<?php
					
				
			?>			
					</table>
					</form>
          
</div>
 
 
</div>
</div></div>
</div></div></div> <?php include "layouts/footer.php"; ?></body></html>