<?php   
	include_once("../view/header-footer/header.php");  
?>  
  
  
  
   <!-- Features -->
   <div class="innerDeader">
      <div class="container">
           <a href="javascript:void(0);" id="go-back" class="goBack">
           <img src="<?php echo ROOTPATH;?>/images/Arrow 1.svg" alt="back">
       </a>  
          <h4>RECEIPT</h4>
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
         <div class="tableBox">
            <table>
                
                <tr>
                    <th   style="width:auto">S No.</th>  
                    <th   style="width:auto">Type</th>  
                    <th   style="width:auto">Amount</th>  
                    <th   style="width:auto">On Date</th>     
                    <th   style="width:auto">View Receipt</th>   
                </tr>  
                
                        <?php 
                        $sr = 1;
                        foreach($FResult as $dmm) 
                        {     
                        if($dmm->type==1)
                        $type = "Patyout";
                        ?>   
                    <tr>
                            <td><?php echo $sr++;?></td> 
                            <td><?php echo $type;?></td>  
                            <td>&#8377;<?php echo $dmm->amountPaid;?></td>  
                            <td><?php echo $dmm->Tdate;?></td>     
                            <td class="eyeIconTd"><a class="eyeIcon" href="viewRec.php?id=<?php echo $dmm->id;?>&cust_d=<?php echo $dmm->custId;?>">
                            <img src="<?php echo ROOTPATH;?>/images/eye.svg" alt="wallet" /></a></td>        
                    </tr>
                    <?php         
                    	}     
                	?> 
              </table>
         </div>
       </div>
   </div>
     
</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
    unset($_SESSION['TpMsg']);