<?php $__env->startSection('content'); ?>
     <div class="nk-content nk-content-fluid">
                        <div class="container-xl wide-lg">
                            <div class="nk-content-body">

                                    <div class="buysell-title text-center"><h4 class="title">Convert Commission To Cash</h4>
                                    <p class="lead text-primary">Your currently have  <strong><?php echo e($basic->currency); ?> <?php echo e(number_format(Auth::user()->bonus, $basic->decimal)); ?> </strong> in your Commission wallet but it is not spendable. </p>


<div class="note note-plane note-danger mgb-1x"><em class="fas fa-info-circle"></em><p>Please note that the minimum amount you can convert to you deposit wallet is <?php echo e($basic->currency); ?><?php echo e(number_format($basic->minbonus, $basic->decimal)); ?>. Ensure you have earned up to that before you proceed</p>
                                    </div><br>
                                    <div class="buysell-block">

                                        <form method="post"  class="buysell-form" action="<?php echo e(route('update.convert')); ?>">
                                        <?php echo csrf_field(); ?>

                                            <div class="buysell-field form-group">
                                                <div class="form-label-group"><label class="form-label" for="buysell-amount">Amount to Convert</label></div>
                                                <div class="form-control-group">
                                                    <input type="number" class="form-control form-control-lg form-control-number" name="amount" placeholder=" 0.00" id="mySelect3" onkeyup="myFunction1()" />
                                                    <div class="form-dropdown">

                                                        <div class="dropdown">
                                                            <a href="#" class="dropdown-indicator-caret" data-toggle="dropdown" data-offset="0,2"><?php echo e($basic->currency); ?></a>

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

                                            <div class="buysell-field form-action"><button  type="submit" class="btn btn-lg btn-block btn-primary" >Convert Bonus</button></div>

                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('include.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>