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

                <div class="modal-content">
                    <a href="#" class="close" data-dismiss="modal"><em class="icon ni ni-cross-sm"></em></a>
                    <div class="modal-body modal-body-lg">
                    <br><br>
                        <div class="nk-block-head nk-block-head-xs text-center">
                            <h5 class="nk-block-title">Preview Sale</h5>
                            <div class="nk-block-text">
                                <div class="caption-text">You are about to sell <strong><?php echo e(number_format($data->amount, $basic->decimal)); ?>USD worth of <?php echo e(App\Currency::whereId($data->currency_id)->first()->name); ?></strong></div>
                                <span class="sub-text-sm">Exchange rate: 1<?php echo e($data->currency->symbol); ?> = $<?php echo e(number_format($data->currency->price, $basic->decimal)); ?></span>
                            </div>
                        </div>
                        <div class="nk-block">
                            <div class="buysell-overview">
                                <ul class="buysell-overview-list">
                                    <li class="buysell-overview-item">
                                        <span class="pm-title">Currency</span><span class="pm-currency"><em class="icon ni ni-<?php echo e(App\Currency::whereId($data->currency_id)->first()->icon); ?>"></em> <span>
                                        <?php echo e(App\Currency::whereId($data->currency_id)->first()->name); ?>

                                        </span></span>
                                    </li>
                                     <li class="buysell-overview-item">
                                        <span class="pm-title">Amount</span>
                                        <?php echo e(number_format($data->amount, $basic->decimal)); ?> USD
                                        </span></span>
                                    </li>

                              <li class="buysell-overview-item"><span class="pm-title">Rate</span><span class="pm-currency">$1.00 = <?php echo e($basic->currency_sym); ?><?php echo e(number_format($data->currency->buy, $basic->decimal)); ?></span></li>
                              <li class="buysell-overview-item"><span class="pm-title">What you get</span><span class="pm-currency"><?php echo e($basic->currency_sym); ?><?php echo e(number_format($data->main_amo, $basic->decimal)); ?></span></li>

                                <li class="buysell-overview-item"><span class="pm-title">Bank Name</span><span class="pm-currency"><?php echo e($data->bankname); ?></span></li>
                                <li class="buysell-overview-item"><span class="pm-title">Account Number</span><span class="pm-currency"><?php echo e($data->accountnumber); ?></span></li>
                                <li class="buysell-overview-item"><span class="pm-title">Account Name</span><span class="pm-currency"><?php echo e($data->accountname); ?></span></li>









                                </ul>
                               </div>

                            <div class="buysell-field form-action text-center">


<div class="pay-buttons"><div class="pay-button">

 </div>
 <a href="<?php echo e(route('esellscan',$data->trx)); ?>"><span class="btn btn-primary btn-outline">Proceed</span></a>
                                <div class="pt-3"><a href="<?php echo e(route('eselldel',$data->trx)); ?>" data-dismiss="modal" class="link link-danger">Cancel Sale</a></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(); ?>