<?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>TOTAL USES   </h4>
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
         <di class="tableBox">
            <table>
                
                <tr>
                          <th>S No.</th> 
                                        <th>Amount</th> 
                                        <th>Date</th> 
                                        <th>Type</th> 
                                        <th>Flow</th> 
                                         
                                        <th>By</th> 
                </tr>  
                
                      <?php 
                                $sr = 1;
                                foreach($Result as $dmm) 
                                {
                                    
                                        if($dmm->type!=1) {
                                ?>
                    <tr>
                         
                                        <td><?php echo $sr++;?></td>
                                        <td <?php if($dmm->type==1) {?> style="color:green;" <?php } else {?> style="color:red;"<?php }?> >&#8377;<?php echo $dmm->addDel;?> </td>
                                        <td><?php echo $dmm->Tdate;?> </td>
                                        <td <?php if($dmm->type==1) {?> style="color:green;" <?php } else {?> style="color:red;"<?php }?> ><?php if($dmm->type==1) echo "Credit"; else echo "Debit";?></td> 
                                        <td><?php echo $dmm->Intype ?></td>
                                         
                                        <td><?php echo $dmm->byw; ?></td> 
                    </tr>
                    <?php                
                                        }
                                
                    		}     
                	?>    
              </table>
         </div>
       </div>
   </div>
     
</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
    unset($_SESSION['TpMsg']);