<?php $__env->startSection('content'); ?>


                   <form action="<?php echo e(route('user.deposit.insert')); ?>" method="post">
                <?php echo csrf_field(); ?>
                <input type="hidden" name="method_code">
                <input type="hidden" name="currency">
  <div class="page-wrapper">
   

    
 <link rel="stylesheet" type="text/css" href="<?php echo e(asset ('core/styles.css')); ?>" />

    <div class="card-secton topup-content">
        <div class="tf-container">
            <div class="tf-balance-box">
                <div class="d-flex justify-content-between align-items-center">
                    <p>Your Balance:</p>
                    <h3><?php echo e($general->cur_text); ?>. <?php echo e(showAmount(auth()->user()->interest_wallet)); ?></h3>
                </div>
                <div class="tf-spacing-16"></div>
                <div class="tf-form">
                    <div class="group-input input-field input-money">
                        <label for="">Amout Of Money</label>
                        <input type="text" onchange="handleChange(this)" required class="search-field value_input st1" type="text"  name="amount"  id="coin">
                        
                    </div>
                    <!--<p>Min: 1000 & Max 50000</p>-->
                    
              
                            <div class="group-input input-field input-money">
                        <label for="">Payment Gatway</label>
                                           <select class="search-field value_input st1" name="gateway" required>
                                   <?php $__currentLoopData = $gatewayCurrency; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($data->method_code); ?>" <?php if(old('gateway') == $data->method_code): echo 'selected'; endif; ?> data-gateway="<?php echo e($data); ?>"><?php echo e($data->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        
                        </select>
                        
             
                        
                    </div>
                    <!--<p>Min: 1000 & Max 50000</p>-->
                    
                    
                    
                    
                    
                    
                    
                    
                </div>
               
            </div>
           
        </div>
        
    </div>
   

   <div class="bottom-navigation-ba mt-5"     >
            <div class="tf-container">
                <a href="#" id="btn-popup-up" class="tf-btn accent large" onclick="fun()">Continue</a>
            </div>
        </div>
  
    <div class="tf-panel up">
        <div class="panel_overlay"></div>
          <div class="panel-box panel-up wrap-content-panel">
            <div class="heading">
                <style>
                    .icon-close1::before{
                        content:'' !important;
                    }
                </style>
                <div class="tf-container">
                    <div class="d-flex align-items-center position-relative justify-content-center">
      
           
                    </div>
                </div>
            </div>
            <div class="main-topup">
                <div class="tf-container">
                  
                  
                 
                    <p class="text-danger text-center" id="copied"></p>
                    <ul class="info">
                     
                        <li><h4 class="secondary_color fw_4 d-flex justify-content-between align-items-center">Fee <a href="#" class="success_color fw_7">Free</a></h4></li>
                    </ul>
                
                    <div class="d-flex justify-content-between align-items-center">
            
                        
                        <button type="submit" class="tf-btn accent large">Recharge</button>

                    </div>
                   </form>
                </div>
                
            </div>
            
            

            
          </div>
          
    </div>

      <style>
     .acti{
  color:blue;
  }
  .icon-scan-qr-code::before{
      content:'' !important;
      coloe:white
  }
 </style>
    <div class="bottom-navigation-bar">
        <div class="tf-container">
            <ul class="tf-navigation-bar">
                <li >
                    <a class="fw_6 d-flex justify-content-center align-items-center flex-column" href="https://raxyzen.com/system/team-details">
                      <i class="las la-users" style="font-size:20px"></i> Team</a> 
                </li>
               
                <li>
                    <a class="fw_4 d-flex justify-content-center align-items-center flex-column active"  href="https://raxyzen.com/system/balance-history">
                        <i class="las la-history" style="font-size:20px"></i> History</a> 
                </li>
                <li>
                    <a class="fw_4 d-flex justify-content-center align-items-center flex-column" href="https://raxyzen.com/system/dashboard">
                        <span class="icon-scan-qr-code"> <i class="las la-home text-white" style="font-size:22px"></i> </span> </a> 
                </li>
                 <li >
                    <a class="fw_4 d-flex justify-content-center align-items-center flex-column active" href="https://chat.whatsapp.com/Lk0W0HrSigAHetZhC7oKOt"><i class="lab la-whatsapp" style="font-size:18px"></i> WA Group</a> 
                </li>
                <li >
                    <a class="fw_6 d-flex justify-content-center align-items-center flex-column" href="https://raxyzen.com/system/profile-setting">
                      <i class="las la-user-cog" style="font-size:20px"></i> Profile</a> 
                </li>
            </ul>
        </div>
    </div>
    
      </div> <!-- page-wrapper end -->
  
    <script type="text/javascript" src="https://raxyzen.com/assets/templates/bit_gold//nayapay/javascript/jquery.min.js"></script>
    <script type="text/javascript" src="https://raxyzen.com/assets/templates/bit_gold//nayapay/javascript/bootstrap.min.js"></script>
    <script type="text/javascript" src="https://raxyzen.com/assets/templates/bit_gold//nayapay/javascript/swiper-bundle.min.js"></script>
    <script type="text/javascript" src="https://raxyzen.com/assets/templates/bit_gold//nayapay/javascript/swiper.js"></script>
    <script type="text/javascript" src="https://raxyzen.com/assets/templates/bit_gold//nayapay/javascript/main.js"></script>
   


  <link rel="stylesheet" href="https://raxyzen.com/assets/templates/bit_gold/css/iziToast.min.css">
<script src="https://raxyzen.com/assets/templates/bit_gold/js/iziToast.min.js"></script>


<script>
"use strict";
    function notify(status,message) {
        iziToast[status]({
            message: message,
            position: "topRight"
        });
    }
</script>

  
  
    <script>
        $("#Button").hide();
        $("#coin").keyup(function () {
            if ($(this).val()) {
                $("#Button").show();
            } else {
                $("#Button").hide();
            }
        });
    </script>
        <script>
    function amo(){
         document.getElementById("Button").style.display = "block";
    }
        function handleChange(input) {
            if (input.value < 1) {
                document.getElementById("Button").style.display = "none";
            } else {
                document.getElementById("Button").style.display = "block";
            }
        }


    </script>
    
 <script>

   function fun(){
       var amount =  document.getElementById('coin').value;
   document.getElementById("value_input").innerHTML = amount;
   document.getElementById("value_input2").innerHTML = amount;
    document.getElementById("final").value = amount;
   }
</script>
<script>
    function CopyToClipboard (containerid) {
  // Create a new textarea element and give it id='temp_element'
  const textarea = document.createElement('textarea')
  textarea.id = 'temp_element'
  // Optional step to make less noise on the page, if any!
  textarea.style.height = 0
  // Now append it to your page somewhere, I chose <body>
  document.body.appendChild(textarea)
  // Give our textarea a value of whatever inside the div of id=containerid
  textarea.value = document.getElementById(containerid).innerText
  // Now copy whatever inside the textarea to clipboard
  const selector = document.querySelector('#temp_element')
  selector.select()
  document.execCommand('copy')
  // Remove the textarea
  document.getElementById('copied').innerHTML = 'Account Number Copied to Clipboard';
  document.body.removeChild(textarea)
}
</script>
<script>
    $(document).ready(function() {
    $("[href]").each(function() {
        if (this.href == window.location.href) {
            $(this).addClass("acti");
            }
            $(this).removeClass("sex");
        });
    });

</script>  

<script>
    (function () {
        "use strict";
        $(document).on("change", ".langSel", function () {
            window.location.href = "https://raxyzen.com/change/" + $(this).val();
        });
    })();
</script>


</body>
</html>


                
                
                
                
                
                
                
                
                
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
    <script>
        (function ($) {
            "use strict";
            $('select[name=gateway]').change(function(){
                if(!$('select[name=gateway]').val()){
                    $('.preview-details').addClass('d-none');
                    return false;
                }
                var resource = $('select[name=gateway] option:selected').data('gateway');
                var fixed_charge = parseFloat(resource.fixed_charge);
                var percent_charge = parseFloat(resource.percent_charge);
                var rate = parseFloat(resource.rate)
                if(resource.method.crypto == 1){
                    var toFixedDigit = 8;
                    $('.crypto_currency').removeClass('d-none');
                }else{
                    var toFixedDigit = 2;
                    $('.crypto_currency').addClass('d-none');
                }
                $('.min').text(parseFloat(resource.min_amount).toFixed(2));
                $('.max').text(parseFloat(resource.max_amount).toFixed(2));
                var amount = parseFloat($('input[name=amount]').val());
                if (!amount) {
                    amount = 0;
                }
                if(amount <= 0){
                    $('.preview-details').addClass('d-none');
                    return false;
                }
                $('.preview-details').removeClass('d-none');
                var charge = parseFloat(fixed_charge + (amount * percent_charge / 100)).toFixed(2);
                $('.charge').text(charge);
                var payable = parseFloat((parseFloat(amount) + parseFloat(charge))).toFixed(2);
                $('.payable').text(payable);
                var final_amo = (parseFloat((parseFloat(amount) + parseFloat(charge)))*rate).toFixed(toFixedDigit);
                $('.final_amo').text(final_amo);
                if (resource.currency != '<?php echo e($general->cur_text); ?>') {
                    var rateElement = `<span class="fw-bold"><?php echo app('translator')->get('Conversion Rate'); ?></span> <span><span  class="fw-bold">1 <?php echo e(__($general->cur_text)); ?> = <span class="rate">${rate}</span>  <span class="method_currency">${resource.currency}</span></span></span>`;
                    $('.rate-element').html(rateElement)
                    $('.rate-element').removeClass('d-none');
                    $('.in-site-cur').removeClass('d-none');
                    $('.rate-element').addClass('d-flex');
                    $('.in-site-cur').addClass('d-flex');
                }else{
                    $('.rate-element').html('')
                    $('.rate-element').addClass('d-none');
                    $('.in-site-cur').addClass('d-none');
                    $('.rate-element').removeClass('d-flex');
                    $('.in-site-cur').removeClass('d-flex');
                }
                $('.method_currency').text(resource.currency);
                $('input[name=currency]').val(resource.currency);
                $('input[name=method_code]').val(resource.method_code);
                $('input[name=amount]').on('input');
            });
            $('input[name=amount]').on('input',function(){
                $('select[name=gateway]').change();
                $('.amount').text(parseFloat($(this).val()).toFixed(2));
            });
        })(jQuery);
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make($activeTemplate.'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/sites/28b/6/61db25e12e/public_html/2setup/pro/core/resources/views/templates/invester/user/payment/deposit.blade.php ENDPATH**/ ?>