<?php $__env->startSection('content'); ?>
    <!-- content @s  -->
                <div class="nk-content nk-content-fluid">
                    <div class="container-xl wide-lg">
                        <div class="nk-content-body">
                            <div class="buysell wides-xs m-autso">
                                <div class="buysell-title text-center">
                                    <h4 class="title"><?php echo e($page_title); ?></h4>
                                </div><!-- .buysell-title -->
                                <div class="buysell-block">
                                     <form action="<?php echo e(route('pin.recharge.post')); ?>"  class="buysell-form" method="POST">
                                    <?php echo csrf_field(); ?>
                                        <div class="buysell-field form-group">
                                            <div class="form-label-group">
                                                <label class="form-label">Account Balance</label>
                                            </div>
                                            <input type="hidden" value="btc" name="bs-currency" id="buysell-choose-currency">
                                            <div class="dropdown buysell-cc-dropdown">
                                                <a href="#" class="buysell-cc-choosen">
                                                    <div class="coin-item coin-btc">
                                                        <div class="coin-icon">
                                                            <em class="icon ni ni-wallet-alt"></em>
                                                        </div>
                                                        <div class="coin-info">
                                                            <span class="coin-name"><?php echo e($basic->currency_sym); ?><?php echo e(number_format(Auth::user()->balance, $basic->decimal)); ?> </span>
                                                            <span class="coin-text">Current Balance</span>
                                                        </div>
                                                    </div>
                                                </a>

                                            </div><!-- .dropdown -->
                                        </div><!-- .buysell-field -->
                                        <div class="buysell-field form-group">
                                            <div class="form-label-group">
                                                <label class="form-label" for="buysell-amount">Enter Pin</label>
                                            </div>
                                            <div class="form-control-group">
                                                <input type="text" name="pin" class="form-control form-control-lg form-control-number" id="buysell-amount" name="bs-amount" placeholder="****-****-****">

                                            </div>
                                            <div class="buysell-field form-action">
                                            <button type="submit" class="btn btn-lg btn-block btn-primary" data-toggle="modal" data-target="#buy-coin">Continue to Recharge</button>
                                        </div><!-- .buysell-field -->
                                        </form>




                                        </div><!-- .buysell-field -->

          <!--  <br><a href="#createEpinModal" card data-toggle="modal" class="btn btn-primary  float-right"><?php echo e(app('translator')->getFromJson('Create New E-Pin')); ?></a>
            <h5 style="padding-left:20px" class="card-header ">
                <?php echo e(app('translator')->getFromJson('My created E-Pin')); ?>

            </h5>
            <div class="card">
                <div class="table-responsive table-responsive-xl ">
                    <table class="table align-items-center table-light ">
                        <thead>
                        <tr>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Amount')); ?></th>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Pin')); ?></th>
                            <th scope="col"><?php echo e(app('translator')->getFromJson('Status')); ?></th>
                        </tr>
                        </thead>


                        <tbody class="list">
                        <?php $__empty_1 = true; $__currentLoopData = $epin; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                                <td><?php echo e($basic->currency_sym); ?><?php echo e($data->amount); ?></td>
                                <td><?php echo e($data->pin); ?></td>
                                <td><?php if($data->status == 1): ?> <span class="badge badge-success"><?php echo e(app('translator')->getFromJson('Not Used')); ?></span> <?php else: ?> <span class="badge badge-warning"><?php echo e(app('translator')->getFromJson('Used')); ?></span> <?php endif; ?></td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <tr>
                                <td class="text-muted text-center" colspan="100%"><?php echo e(__('NO DATA FOUND')); ?></td>
                            </tr>
                        <?php endif; ?>
                        </tbody>
                    </table>
                </div>
                <div class="card-footer py-4">
                    <nav aria-label="...">

                        <?php echo e($epin->links()); ?>

                    </nav>
                </div>
            </div> -->

                                        <div class="form-note text-base text-center">Note: <a href="#">You can resell epin to other <?php echo e($basic->sitename); ?> users</a>.</div>

                                </div><!-- .buysell-block -->
                            </div><!-- .buysell -->
                        </div>
                    </div>
                </div>



                 <div class="modal fade" id="createEpinModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title" id="myModalLabel"> <?php echo e(app('translator')->getFromJson('Create New Pin')); ?></h4>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                </div>
             <!--   <form  method="post" action="<?php echo e(route('pin.generate')); ?>">
                    <?php echo csrf_field(); ?>-->
                    <div class="modal-body text-center">

                        <strong class="text-center"><?php echo e(app('translator')->getFromJson('Amount')); ?></strong>
                        <div class="input-group">
                            <input type="text" class="form-control input-lg" name="amount">
                            <div class="input-group-append">
                            <span class="input-group-text">
                                <?php echo e(__($basic->currency_sym)); ?>

                            </span>
                            </div>

                        </div>
                        <small class="text-center text-danger"><?php echo e(app('translator')->getFromJson('This amount will subtract from your wallet and generate new pin.')); ?></small>
                    </div>
                    <div class="modal-footer">
                        <button type="submit"  class="btn btn-primary bold uppercase"><i class="fa fa-send"></i> <?php echo e(app('translator')->getFromJson('Generate')); ?></button>
                        <button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-times"></i> <?php echo e(app('translator')->getFromJson('Close')); ?></button>
                    </div>
                </form>
            </div>
        </div>
    </div>



                <!-- content @e  --><?php $__env->stopSection(); ?>

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