<?php   
	include_once("../view/header-footer/header.php");  
?>  
<script>


     function functionCalled1()
        {
              
              if( ($("#mobile").val()!='')  &&   ($("#rname_").val()!='') &&   ($("#accountNo").val()!='') &&   ($("#ifsc").val()!='') &&   ($("#amount").val()!='') )
              {
                  $("#submit").hide(300);
                  $("#procc").show(300);
              }
                 
        
        }
                

     
        $(document).ready(function()
        {        
            var URL = "<?php echo ROOTPATH;?>";    
            $( "#cuurentId" ).change(function() 
            {       
                       
              $.ajax({	
                    type: "POST",
                    url: URL+"/ajax/validation.php",
                    data: {userDatacheck:1,Data:$("#cuurentId").val()},
                    beforeSend: function(){ 
                    },
                    success: function(data)
                        {       
                            $("#AvailbleId").html("<span style='color:green;'>"+data+" &#x2713</span>");
                        }
                    });   
            });  
        });    
    
     
    </script> 
    <script type="text/javascript" src="<?php echo ROOTPATH;?>/view/js/tab/profile.js"> </script>
    <script>
        //Function To Display Popup
    function div_show() {
    
    document.getElementById('abc').style.display = "block";
    }
    //Function to Hide Popup
    function div_hide(){
    document.getElementById('abc').style.display = "none";
    }
        
</script>
  
   
 <!-- 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>WALLET TRANSFER </h4> 
          <span>
           <?php  
                if(isset($_SESSION['Regis']))  
                    echo $_SESSION['Regis'];     
            ?>
          </span>
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
        <div class="formBox">
            <form method="post" autocomplete="off">
                
          <div class="form-outline">
            <label class="form-label" for="form12">Mobile No</label>
            <input type="text"  class="form-control"  name="mobile"  id="mobile"  required  value="<?php echo trim($Result->phm);?>"/>
			 
          </div> 
          
          
          <div class="form-outline">
            <label class="form-label" for="form12">Operator</label> 
             <select  class="form-control"  name="Operator" required> 
                <option value="">Select Operator</option>
                <option value="2002">Paytm</option>
                <option value="2003">Mobikwik</option> 
                <option value="2005">Amazon Pay Wallet</option> 
                <!--option value="2004">NEFT / RTGS / IMPS / FUNDS TRANSFER</option> 
                <option value="2006">UPI</option--> 
            </select> 
          </div> 
          
            
		   <div class="form-outline">
            <label class="form-label" for="form12">Amount</label>
            <input type="number"   class="form-control"     name="amount"  id="amount"      required  /> 
          </div>  
	 
		  
		  
		   <div class="form-outline">
            <label class="form-label" for="form12">Enter Transaction Password</label>
            <input type="text"  class="form-control"    type="password" placeholder=" " [(ngModel)] = 'line1'    name="pinno"  id="pinno"      required  />
			 
          </div> 
          
	     <div class="form-outline">
            <label class="form-label" for="form12">Available Balance</label>
            <input type="text"   class="form-control"   value="₹<?php echo $PAYWAllet;?>" readonly  /> 
          </div>
		  
          
		  <input type="submit" class="btn btn-primary bigBtn PaySound"     name="submit" value="Transfer Now"  onclick="functionCalled1();" />  
		  <a href="javascript:void(0);" id="go-backDown" class="PaySound " style="background-color: #747474;
                    border: none;
                    color: #fff;
                    padding: 5px 10px;
                    text-align: center;
                    text-decoration: none;
                    display: inline-block;
                    width:100%; 
                    border-radius:5px;
                    font-size: 15px;
                    margin: 4px 2px;
                    cursor: pointer;" >Go Back</a>
          </form>

        </div>  
       </div>
   </div>  
   
     
</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
unset($_SESSION['Regis']);  
unset($_SESSION['topSuc']); 
unset($_SESSION['QRSET']); 