<?php $__env->startSection('title', 'Account'); ?>

<?php $__env->startSection('content'); ?>
    <style>
        .item {
            text-align: center;
        }
        .dasboard .card {
            margin-bottom: 25px;
            color: #333;
            font-size: 15px;
            text-transform: uppercase;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s;
            border: 2px solid gainsboro;
            padding: 30px 10px;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) !important;
        }
        .item p {
            margin: 0;
            text-align: center;
        }
        .dasboard .card i,
        .transction .card i {
            font-size: 35px;
            margin-bottom: 10px;
        }
    </style>
    <div class="customar-dashboard">
        <div class="container">
            <div class="customar-access row">
                <?php 
                $low_products=\App\Models\Product::where('quantity','<','6')->where('user_id',auth()->id())->count();
                if($low_products>0){
            ?>
                <style>
                    .low-warning {
                        padding: 8px 30px;
                        border-radius: 5px;
                        color: white;
                        margin-top: 20px;
                    }
                </style>
                <a class="btn-danger col-md-12 low-warning" href="<?php echo e(route('vendor.low.product')); ?>">
                    You have <?php echo e($low_products); ?> low quantity product.
                </a>
                <?php }?>
                <div class="customar-menu col-md-3">
                    <?php echo $__env->make('layouts.frontend.partials.userside', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
                <div class="col-md-9 dasboard" style="padding:0">
                    <div class="cr row" style="padding: 20px;">
                        

                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('redem.index')); ?>">
                                <p><i class="fas fa-coins"></i></p>
                                Pending Point
                                <p><?php echo e(auth()->user()->pen_point); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('redem.index')); ?>">
                                <p><i class="fas fa-coins"></i></p>
                                Total Point
                                <p><?php echo e(auth()->user()->point); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('redem.index')); ?>">
                                <p><i class="fas fa-wallet"></i></p>
                                My Wallet
                                <p><?php echo e(auth()->user()->wallate); ?> <?php echo e(setting('CURRENCY_ICON')); ?></p>
                            </a>
                        </div>
                        
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('order')); ?>">
                                <p><i class="fas fa-box"></i></p>
                                Total Order
                                <p><?php echo e($order); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('order')); ?>">
                                <p><i class="fas fa-balance-scale"></i></p>
                                Pending Order
                                <p><?php echo e($pending); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('order')); ?>">
                                <p><i class="fas fa-hourglass-start"></i></p>
                                Processing Order
                                <p><?php echo e($processing); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('order')); ?>">
                                <p><i class="fas fa-plane"></i></p>
                                Shipping Order
                                <p><?php echo e($shipping); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('order')); ?>">
                                <p><i class="fas fa-thumbs-up"></i></p>
                                Pickuped Order
                                <p><?php echo e($delevery); ?></p>
                            </a>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-6 item">
                            <a class="card" href="<?php echo e(route('order')); ?>">
                                <p><i class="fa fa-window-close  color-white shadow-l timeline-icon"></i></p>
                                Cancel Order
                                <p><?php echo e($cancel); ?></p>
                            </a>
                        </div>
                    </div>
                </div>

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

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

<?php $__env->startPush('js'); ?>
    <script>
        $(document).on('click', '#copyLink', function(e) {
            var element = $("#refer_link");
            element.val($(element).val()).select();
            document.execCommand("copy");
            $.toast({
                heading: 'Success',
                text: 'Link Copy Successfully.',
                icon: 'success',
                position: 'top-right',
                stack: false
            });
        });
    </script>
    <script src="<?php echo e(asset('/')); ?>assets/frontend/js/city.js"></script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.frontend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/apleusbj/shopping.apleefix.com/resources/views/frontend/account-dashboard.blade.php ENDPATH**/ ?>