<?php $__env->startSection('content'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('static/tree/css/withdraw.css')); ?>">

    <body>

        <form action="<?php echo e(route('user.withdraw')); ?>" method="post">
            <?php echo csrf_field(); ?>
            <input type="hidden" name="balance" value="2">
            <input type="hidden" name="method_code" value="1">
            <div class="withdraw-wrap withdraw-wrap2">
                <div class="navbar">
                    <span onclick="onBack()">
                        <i></i>
                    </span>
                    <span>withdraw</span>
                    <span>
                    </span>
                </div>
                <div class="box">
                    <p>Withdrawable amount</p>
                    <h3>₦<?php echo e(number_format(auth()->user()->bonus_balance)); ?></h3>
                    
                    <img src="<?php echo e(asset('static/tree/img/bg4@2x.png')); ?>" alt="">
                </div>


                <div class="wrap2">
                    <h3>Withdrawable amount</h3>
                    <div>
                        <b>₦</b>
                        <input type="number" class="money" placeholder="input" name="amount">

                    </div>
                </div>

                <br>
                <p class="all">balance ₦<?php echo e(auth()->user()->bonus_balance); ?> <b> total withdrawal</b></p>
                <button type="submit" style="width: 100%; border:none;" class="btn"> withdraw </button>
                <div class="wrap2">
                    <h3>withdraw advice</h3>
                    <h6>
                        1.Withdrawal time: 24/7 automatic <br>
                        2.Minimum Withdrawal Limit ₦1000 <br>
                        3.Maximum Withdrawal Limit ₦1000000 <br>
                        4.Arrival time within 24 hour <br>
                        5.No withdraw fee <br>
                    </h6>
                </div>


            </div>
        </form>

    </body>
    <script>
        $('.money').keyup(function() {
            $(this)[0].value = $(this)[0].value.replace(/^(0+)|[^\d]+/g, '')
        })
        $('.all').click(function() {
            $('.money').val(<?php echo e(auth()->user()->bonus_balance); ?>)
        })
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/AMPPS/www/ipad/core/resources/views/templates/basic/user/withdraw/methods.blade.php ENDPATH**/ ?>