<?php $__env->startSection('title', 'نتیجه پرداخت'); ?>
<?php $__env->startSection('css'); ?>

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

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

<div class="app-content content">
    <div class="content-wrapper">
        <div class="content-header row">
        </div>
        <div class="content-body">


            <div class="row mb-4">
            <div class="col-md-11 mb-4 mx-auto">
                <div class="card o-hidden">

                    <?php if($result->status == true): ?>
                        <div class="card-body text-center box-payment border-success">

                            <img src="<?php echo e(asset('')); ?>app-assets/images/icons/success.png" width="130px">
                            <h2 class="mt-2">پرداخت با موفقیت انجام شد!</h2>
                            <div class="table-responsive">
                                <table class="table table-bordered col-md-8 mx-auto mt-3">
                                    <tbody>
                                    <tr>
                                        <th scope="row">موجودی</th>
                                        <td class="text-center">
                                            <span class="sans-serif"> <?php echo e(number_format($result->user_finance->stock)); ?></span> تومان
                                        </td>
                                    </tr>
                                    <?php if(isset($result->RefID)): ?>
                                        <tr>
                                            <th scope="row">کد پیگیری خرید</th>
                                            <td class="sans-serif text-center cursor-pointer">
                                                <span><?php echo e($result->RefID); ?></span>
                                            </td>
                                        </tr>
                                    <?php endif; ?>
                                    <tr>
                                        <th scope="row">تاریخ پرداخت</th>
                                        <td class="text-center">
                                            <span><?php echo e($result->date); ?></span>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="btn-payment">
                                <a class="btn btn-primary round" href="<?php echo e(asset('')); ?>">داشبورد</a>
                                <a class="btn btn-primary round" href="<?php echo e(asset('')); ?>ticket">پشتیبانی</a>
                            </div>

                        </div>
                    <?php elseif($result->status == false): ?>
                        <div class="card-body height-500 text-center box-payment">
                            <img src="<?php echo e(asset('')); ?>app-assets/images/icons/error.png" width="130px">
                            <h3 class="mt-5"><?php echo $result->message; ?></h3>
                            <div class="btn-payment">
                                <a class="btn btn-primary round" href="<?php echo e(asset('')); ?>">داشبورد</a>
                                <a class="btn btn-primary round" href="<?php echo e(asset('')); ?>ticket">پشتیبانی</a>
                            </div>
                        </div>
                    <?php endif; ?>
                </div>
            </div>

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

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

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

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

<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/towinex/engine/resources/views/user/wallet/callback.blade.php ENDPATH**/ ?>