<?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 PaySound">
           <img src="<?php echo ROOTPATH;?>/images/Arrow 1.svg" alt="back">
       </a>  
                 <h4>   REPAYMENT SUMMARY </h4>
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
         <div class="tableBox">
            <table>
                
                <tr>
                    <th>S No.</th>
                    <th>Id</th> 
                    <th>Name</th> 
                    <th>Amount</th>   
                    <th>Date</th>   
                     
                    <th>BALANCE</th>   
                </tr>
                
                    
                    <?php 
                    $sr = 1;
                    foreach($UI__DailyROIGene as $dmm) 
                    {
                    
                    $stmt=$conn->prepare("select *  from UI__Rgst  where cuurentId=:Rid  ");   
                    $stmt->bindValue(':Rid',  $_SESSION['userId'] , PDO::PARAM_INT);  
                    $stmt->execute(); 
                    $nm = $stmt->fetch(PDO::FETCH_OBJ);   
                    ?>
                    <tr>
                    <td><?php echo $sr++;?></td>
                    <td><?php echo $_SESSION['userId'] ;?></td>  
                    <td><?php echo $nm->nm;?></td>
                    <td>&#8377;<?php echo $dmm->amt;?></td>   
                    <td><?php echo $dmm->Tdate;?></td>  
                    <td><?php echo $dmm->balance;  ?></td>     
                    </tr>
                    <?php } ?>    
                 
              </table>
         </div>
       </div>
   </div>
     
</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
    unset($_SESSION['TpMsg']);