HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.shooperm.com/storage/framework/views/28da899d3ee12244225b76418c7bd63e51920dd7.php
<?php $__env->startSection('styles'); ?>
<link rel="stylesheet" href="<?php echo e(asset(asset_path('backend/css/backend_page_css/dashboard.css'))); ?>" />


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

<section class="mb-40">
    <div class="container-fluid p-0">

        <div class="row">
            <div class="col-lg-4 col-md-4 col-sm-12 mb_10">
                <div class="main-title d-flex">
                    <h3 class="mb-0 mr-3 text-nowrap"><?php echo e(__('common.summary')); ?> </h3>
                    <?php if(isModuleActive('MultiVendor')): ?>
                    <ul class="d-flex">
                        <li><a href="<?php echo e(route('seller.dashboard')); ?>" target="_blank"
                                class="primary-btn radius_30px mr-10 fix-gr-bg"><?php echo e(__('dashboard.seller_dashboard')); ?></a>
                        </li>
                    </ul>
                    <?php endif; ?>
                </div>
            </div>
            <?php if(permissionCheck('widget_card')): ?>
            <div class="col-lg-8 col-md-8 col-sm-12">
                <div class="float-md-right float-none pos_tab_btn justify-content-end">
                    <ul class="nav">
                        <li class="nav-item mb_5">
                            <a class="nav-link filtering active" data-type="today" href="javascript:void(0)"><?php echo e(__('dashboard.today')); ?></a>
                        </li>
                        <li class="nav-item mb_5">
                            <a class="nav-link filtering" data-type="week" href="javascript:void(0)"><?php echo e(__('dashboard.this_week')); ?></a>
                        </li>
                        <li class="nav-item mb_5">
                            <a class="nav-link filtering" data-type="month" href="javascript:void(0)"><?php echo e(__('dashboard.this_month')); ?></a>
                        </li>
                        <li class="nav-item mb_5">
                            <a class="nav-link filtering" data-type="year" href="javascript:void(0)"><?php echo e(__('dashboard.this_year')); ?></a>
                        </li>
                    </ul>
                </div>
            </div>
            <?php endif; ?>
        </div>
        <?php if(permissionCheck('widget_card')): ?>
        <div class="row mb_30">

            <?php if(app('dashboard_setup')->where('type', 'total_product_card')->first()->is_active &&
            permissionCheck('widget_total_product')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_products')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_products')->first()->is_active == 2): ?> bg_active <?php endif; ?>">
                    <a href="<?php echo e(route('product.index')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.total_product')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2 total_products"><?php echo e($totalProducts); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>

            <?php if(app('dashboard_setup')->where('type', 'total_seller_card')->first()->is_active &&
            permissionCheck('widget_total_seller') && isModuleActive('MultiVendor')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_sellers')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_sellers')->first()->is_active == 2): ?> bg_active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.merchants_list')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.total_seller')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2"><?php echo e($totalSellers); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>

            <?php if(app('dashboard_setup')->where('type', 'total_customer_card')->first()->is_active &&
            permissionCheck('widget_total_customer')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_customer')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_customer')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <a href="<?php echo e(route('cusotmer.list_active')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.total_customer')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2"><?php echo e($totalCustomers); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'visitor_card')->first()->is_active &&
            permissionCheck('widget_visitor')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'todays_visitor')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'todays_visitor')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <a href="#">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.visitor')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2 total_visitors"><?php echo e($totalvisitors); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_order_card')->first()->is_active &&
            permissionCheck('widget_total_order')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_order')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_order')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <a href="<?php echo e(route('order_manage.total_sales_index')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.total_order')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2 total_order"><?php echo e($total_order); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_pending_order_card')->first()->is_active &&
            permissionCheck('widget_total_pending_order')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'pending_order')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'pending_order')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <a href="<?php echo e(route('order_manage.total_sales_index')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.total_pending_order')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2 total_pending_order"><?php echo e($total_pending_order); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_completed_order_card')->first()->is_active &&
            permissionCheck('widget_total_completed_order')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'completed_order')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'completed_order')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <a href="<?php echo e(route('order_manage.total_sales_index')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.total_completed_order')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2 total_completed_order"><?php echo e($total_completed_order); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_sale_amount_card')->first()->is_active &&
            permissionCheck('widget_total_sale')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_sale')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_sale')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.total_sale')); ?></h3>
                        <img class="demo_wait d-none" height="60px"
                            src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                        <h1 class="gradient-color2 total_sale"><?php echo e(single_price($total_sale)); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_review_card')->first()->is_active &&
            permissionCheck('widget_total_review')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_review')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_sale')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.total_review')); ?></h3>
                        <img class="demo_wait d-none" height="60px"
                            src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                        <h1 class="gradient-color2 total_review"><?php echo e($total_review); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_revenue_card')->first()->is_active &&
            permissionCheck('widget_total_revenue')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_revenue')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_sale')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.today_sale_revenue')); ?></h3>
                        <img class="demo_wait d-none" height="60px"
                            src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                        <h1 class="gradient-color2 total_revenue"><?php echo e(single_price($total_revenue)); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_active_customer_card')->first()->is_active &&
            permissionCheck('widget_active_customer')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'active_customer')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_sale')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <a href="<?php echo e(route('cusotmer.list_active')); ?>" target="_blank">
                        <div class="d-block mt-10">
                            <h3><?php echo e(__('dashboard.active_customer')); ?></h3>
                            <img class="demo_wait d-none" height="60px"
                                src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                            <h1 class="gradient-color2"><?php echo e($total_active_customers); ?></h1>
                        </div>
                    </a>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'total_subscriber_card')->first()->is_active &&
            permissionCheck('widget_total_subcriber')): ?>
            <div class="col-xl-3 col-lg-4 col-md-4 col-sm-6">
                <div
                    class="white-box single-summery <?php if(app('dashboard_setup')->where('type', 'total_subcriber')->first()->is_active == 1): ?> active <?php elseif(app('dashboard_setup')->where('type', 'total_sale')->first()->is_active == 2): ?> bg_active  <?php endif; ?>">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.total_subscriber')); ?></h3>
                        <img class="demo_wait d-none" height="60px"
                            src="<?php echo e(showImage('backend/img/loader.gif')); ?>" alt="">
                        <h1 class="gradient-color2"><?php echo e($total_subscriber); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div>
        <?php endif; ?>
        <?php if(permissionCheck('dashboard_graph')): ?>
        <div class="row mb_30 <?php if(permissionCheck('widget_card')): ?> <?php else: ?> mt-30 <?php endif; ?>">
            <?php if(app('dashboard_setup')->where('type', 'product_graph')->first()->is_active &&
            permissionCheck('dashboard_graph_products')): ?>
            <div class="col-lg-4 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30 graph_dashboard">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.products')); ?></h3>
                        </div>
                    </div>
                    <div class="chart_pie_box">
                        <canvas height="150" id="traffic-chartt"></canvas>
                    </div>
                    <div class="sales_value_legend" id="traffic-chart-legendd"></div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'order_summary_graph')->first()->is_active &&
            permissionCheck('dashboard_graph_orders_summary')): ?>
            <div class="col-lg-4 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30 graph_dashboard">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.orders_summary')); ?></h3>
                        </div>
                    </div>
                    <div class="chart_pie_box">
                        <canvas height="150" id="traffic-chart2"></canvas>
                    </div>
                    <div class="sales_value_legend" id="traffic-chart-legend2"></div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'seller_graph')->first()->is_active &&
            permissionCheck('dashboard_graph_sellers') && isModuleActive('MultiVendor')): ?>
            <div class="col-lg-4 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30 graph_dashboard">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.sellers')); ?></h3>
                        </div>
                    </div>
                    <div class="chart_pie_box">
                        <canvas height="150" id="traffic-chart3"></canvas>
                    </div>
                    <div class="sales_value_legend" id="traffic-chart-legend3"></div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'guest_vs_registered_order_graph')->first()->is_active &&
            permissionCheck('dashboard_graph_gueast_authorize_order_today')): ?>
            <div class="col-lg-4 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30 graph_dashboard">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px">
                                <?php echo e(__('dashboard.guest_authorized_order_today')); ?></h3>
                        </div>
                    </div>
                    <div class="chart_pie_box">
                        <canvas height="150" id="traffic-chart4"></canvas>
                    </div>
                    <div class="sales_value_legend" id="traffic-chart-legend4"></div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'today_order_summary_graph')->first()->is_active &&
            permissionCheck('dashboard_graph_today_order_summary')): ?>
            <div class="col-lg-4 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30 graph_dashboard">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.today_order_summary')); ?></h3>
                        </div>
                    </div>
                    <div class="chart_pie_box">
                        <canvas height="150" id="traffic-chart5"></canvas>
                    </div>
                    <div class="sales_value_legend" id="traffic-chart-legend5"></div>
                </div>
            </div>
            <?php endif; ?>
        </div>

        <?php if(app('business_settings')->where('type', 'google_analytics')->first()->status == 1 &&
        permissionCheck('dashboard_graph_site_analytics')): ?>
        <div class="row mb_30">
            <div class="col-lg-12 col-md-12 col-sm-12">
                <div class="main-title">
                    <h3 class="mb-0"><?php echo e(__('dashboard.site_analytics')); ?></h3>
                </div>
            </div>
            <?php if(isset($total_page_visitor)): ?>
            <div class="col-md-3 col-lg-3 col-sm-3">
                <div class="white-box single-summery active">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.total_visitor')); ?></h3>
                        <h1 class="gradient-color2"><?php echo e($total_page_visitor); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(isset($total_page_views)): ?>
            <div class="col-md-3 col-lg-3 col-sm-3">
                <div class="white-box single-summery active">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.total_page_views')); ?></h3>
                        <h1 class="gradient-color2"><?php echo e($total_page_views); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(isset($total_new_visitor)): ?>
            <div class="col-md-3 col-lg-3 col-sm-3">
                <div class="white-box single-summery active">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.new_visitors')); ?></h3>
                        <h1 class="gradient-color2"><?php echo e($total_new_visitor); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(isset($total_old_views)): ?>
            <div class="col-md-3 col-lg-3 col-sm-3">
                <div class="white-box single-summery active">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.old_visitors')); ?></h3>
                        <h1 class="gradient-color2"><?php echo e($total_old_views); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(isset($total_in_session)): ?>
            <div class="col-md-3 col-lg-3 col-sm-3">
                <div class="white-box single-summery active">
                    <div class="d-block mt-10">
                        <h3><?php echo e(__('dashboard.total_in_sessions')); ?></h3>
                        <h1 class="gradient-color2"><?php echo e($total_in_session); ?></h1>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div>
        <?php endif; ?>

        <?php endif; ?>

        <div class="row mb_30">
            <?php if(app('dashboard_setup')->where('type', 'top_ten_product')->first()->is_active &&
            permissionCheck('dashboard_top_ten_product')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.top_10_product')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.name')); ?></th>
                                            <th scope="col"><?php echo e(__('common.brand')); ?> </th>
                                            <th scope="col"><?php echo e(__('common.total_sale')); ?> </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $top_ten_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key + 1); ?></td>
                                            <td><a href="<?php echo e(singleProductURL($product->seller->slug, $product->slug)); ?>"
                                                    target="_blank"><?php echo e($product->product->product_name); ?></a></td>

                                            <td><?php echo e($product->product->brand->name); ?></td>
                                            <td><?php echo e($product->total_sale); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>

            <?php if(app('dashboard_setup')->where('type', 'top_ten_seller')->first()->is_active &&
            permissionCheck('dashboard_top_ten_seller') && isModuleActive('MultiVendor')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.top_10_seller')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th scope="col"><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.name')); ?></th>
                                            <th scope="col"><?php echo e(__('common.shop')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $top_ten_sellers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $top_ten_seller): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key+1); ?></td>
                                            <td>
                                                <?php if($top_ten_seller->user->slug): ?>

                                                <a href="<?php echo e(route('frontend.seller',$top_ten_seller->user->slug)); ?>"
                                                    target="_blank"><?php echo e($top_ten_seller->user->first_name); ?>

                                                    <?php echo e($top_ten_seller->user->last_name); ?></a>
                                                <?php else: ?>
                                                <a href="<?php echo e(route('frontend.seller',base64_encode($top_ten_seller->user_id))); ?>"
                                                    target="_blank"><?php echo e($top_ten_seller->user->first_name); ?>

                                                    <?php echo e($top_ten_seller->user->last_name); ?></a>
                                                <?php endif; ?>

                                            </td>
                                            <td>
                                                <?php if($top_ten_seller->user->slug): ?>
                                                <a href="<?php echo e(route('frontend.seller',$top_ten_seller->user->slug)); ?>"
                                                    target="_blank"><?php echo e($top_ten_seller->seller_shop_display_name); ?></a>
                                                <?php else: ?>

                                                <a href="<?php echo e(route('frontend.seller',base64_encode($top_ten_seller->user_id))); ?>"
                                                    target="_blank"><?php echo e($top_ten_seller->seller_shop_display_name); ?></a>
                                                <?php endif; ?>
                                            </td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'category_wise_product_qty')->first()->is_active &&
            permissionCheck('dashboard_category_wise_product_qty')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.category_wise_product_qty')); ?>

                            </h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th scope="col"><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.category_name')); ?></th>
                                            <th scope="col"><?php echo e(__('common.product_qty')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key+1); ?></td>
                                            <td><?php echo e($category->name); ?></td>
                                            <td><?php echo e(count($category->products)); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <?php if($categoriesTotal > 10): ?>
                    <div class="row justify-content-center mt-10">
                        <a href="<?php echo e(route('product.categories.index_info')); ?>" class="primary_btn_2" target="_blank"><?php echo e(__('common.see_all')); ?></a>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'category_wise_sale')->first()->is_active &&
            permissionCheck('dashboard_category_wise_product_sale')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px">
                                <?php echo e(__('dashboard.category_wise_product_sale')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th scope="col"><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.category_name')); ?></th>
                                            <th scope="col"><?php echo e(__('common.no_of_sale')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $topSaleCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $topSaleCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key+1); ?></td>
                                            <td><?php echo e($topSaleCategory->name); ?></td>
                                            <td><?php echo e($topSaleCategory->total_sale); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <?php if($categoriesTotal > 10): ?>
                    <div class="row justify-content-center mt-10">
                        <a href="<?php echo e(route('product.categories.index_info')); ?>" class="primary_btn_2" target="_blank"><?php echo e(__('common.see_all')); ?></a>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'coupon_wise_sale')->first()->is_active &&
            permissionCheck('dashboard_coupon_wise_sale')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.coupon_wise_sale')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th scope="col"><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.type')); ?></th>
                                            <th scope="col"><?php echo e(__('common.coupon')); ?></th>
                                            <th scope="col"><?php echo e(__('common.total_discount')); ?></th>
                                            <th scope="col"><?php echo e(__('common.num_of_uses')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $coupon_wise_sales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $coupon): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key+1); ?></td>
                                            <td>
                                                <?php if($coupon->coupon_type == 1): ?>
                                                <?php echo e(__('marketing.product_base')); ?>

                                                <?php elseif($coupon->coupon_type == 2): ?>
                                                <?php echo e(__('marketing.order_base')); ?>

                                                <?php else: ?>
                                                <?php echo e(__('marketing.free_shipping')); ?>

                                                <?php endif; ?>
                                            </td>
                                            <td><?php echo e($coupon->coupon_code); ?></td>
                                            <td><?php echo e($coupon->coupon_uses->sum('discount_amount')); ?></td>
                                            <td><?php echo e(@$coupon->coupon_uses->count()); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <?php if(count($total_coupon) > 10): ?>
                    <div class="row justify-content-center mt-10">
                        <a href="<?php echo e(route('marketing.coupon.coupon_info')); ?>" target="_blank" class="primary_btn_2"><?php echo e(__('common.see_all')); ?></a>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'new_customers')->first()->is_active &&
            permissionCheck('dashboard_new_customers')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.new_customers')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th scope="col"><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.name')); ?></th>
                                            <th scope="col"><?php echo e(__('common.email')); ?></th>
                                            <th scope="col"><?php echo e(__('common.action')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $new_customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key+1); ?></td>
                                            <td><?php echo e($customer->first_name); ?> <?php echo e($customer->last_name); ?></td>
                                            <td><?php echo e($customer->email); ?></td>
                                            <td>
                                                <a href="<?php echo e(route('customer.show_details',$customer->id)); ?>"
                                                    class="primary-btn radius_30px mr-10 fix-gr-bg" type="button"
                                                    target="_blank"><i class="ti-eye"></i><?php echo e(__('common.details')); ?></a>
                                            </td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'recently_added_products')->first()->is_active &&
            permissionCheck('dashboard_recently_added_products')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.recently_added_products')); ?>

                            </h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.name')); ?></th>
                                            <th scope="col"><?php echo e(__('common.brand')); ?></th>
                                            <th scope="col"><?php echo e(__('common.total_sale')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $recently_added_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key + 1); ?></td>
                                            <td><a href="<?php echo e(singleProductURL($product->seller->slug, $product->slug)); ?>"
                                                    target="_blank"><?php echo e($product->product->product_name); ?></a>
                                            </td>

                                            <td><?php echo e($product->product->brand->name); ?></td>
                                            <td><?php echo e($product->total_sale); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'top_refferer')->first()->is_active &&
            permissionCheck('dashboard_top_refferers')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.top_refferers')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th><?php echo e(__('common.sl')); ?></th>
                                            <th scope="col"><?php echo e(__('common.name')); ?></th>
                                            <th scope="col" width="20%"><?php echo e(__('common.count')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $top_refferers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $top_refferer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key + 1); ?></td>
                                            <td><a href="<?php echo e(route('customer.show_details',$top_refferer->user_id)); ?>"
                                                    target="_blank"><?php echo e($top_refferer->user->first_name); ?></a></td>
                                            <td><?php echo e($top_refferer->total_used); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'latest_order')->first()->is_active &&
            permissionCheck('dashboard_latest_order')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.latest_order')); ?></h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th><?php echo e(__('common.order_id')); ?></th>
                                            <th><?php echo e(__('common.total_amount')); ?></th>
                                            <th><?php echo e(__('order.order_status')); ?></th>
                                            <th><?php echo e(__('common.action')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $latest_orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><a href="<?php echo e(route('order_manage.show_details',$order->id)); ?>"
                                                    target="_blank"><?php echo e($order->order_number); ?></a></td>
                                            <td><?php echo e(single_price($order->grand_total)); ?></td>
                                            <td>
                                                <?php if($order->is_confirmed == 1): ?>
                                                <h6><span class="badge_1"><?php echo e(__('common.confirmed')); ?></span></h6>
                                                <?php elseif($order->is_confirmed == 2): ?>
                                                <h6><span class="badge_4"><?php echo e(__('common.declined')); ?></span></h6>
                                                <?php else: ?>
                                                <h6><span class="badge_4"><?php echo e(__('common.pending')); ?></span></h6>
                                                <?php endif; ?>
                                            </td>
                                            <td>
                                                <a href="<?php echo e(route('order_manage.show_details',$order->id)); ?>"
                                                    class="primary-btn radius_30px mr-10 fix-gr-bg" type="button"
                                                    target="_blank"><i class="ti-eye"></i><?php echo e(__('common.details')); ?></a>
                                            </td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'latest_search_keyword')->first()->is_active &&
            permissionCheck('dashboard_latest_search_keyword')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.latest_search_keyword')); ?>

                            </h3>
                        </div>
                    </div>
                    <div class="QA_section QA_section_heading_custom check_box_table">
                        <div class="QA_table ">
                            <!-- table-responsive -->
                            <div class="">
                                <table class="table Crm_table_active4">
                                    <thead>
                                        <tr>
                                            <th><?php echo e(__('common.sl')); ?></th>
                                            <th><?php echo e(__('common.keyword')); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $latest_search_keywords; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $keyword): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($key+1); ?></td>
                                            <td><?php echo e($keyword->keyword); ?></td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
            <?php if(app('dashboard_setup')->where('type', 'appealed_dispute')->first()->is_active &&
            permissionCheck('dashboard_appealed_disputed')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.appealed_disputed')); ?></h3>
                        </div>
                    </div>
                    <div class="box_header_right">
                        <div class="float-lg-right float-none pos_tab_btn justify-content-end">
                            <ul class="nav" role="tablist">
                                <?php if(isModuleActive('MultiVendor')): ?>
                                <li class="nav-item">
                                    <a class="nav-link active show" href="#top_customer_disputed" role="tab"
                                        data-toggle="tab" id="customer_dispute" aria-selected="true"><?php echo e(__('dashboard.top_customers')); ?></a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link" href="#top_seller_disputed" role="tab" data-toggle="tab"
                                        id="seller_dispute" aria-selected="true"><?php echo e(__('dashboard.top_sellers')); ?></a>
                                </li>
                                <?php endif; ?>
                            </ul>
                        </div>
                    </div>
                    <div class="tab-content">
                        <div role="tabpanel" class="tab-pane fade active show" id="top_customer_disputed">
                            <div class="box_header common_table_header ">
                                <div class="main-title d-md-flex">
                                    <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.top_customers')); ?>

                                    </h3>
                                </div>
                            </div>
                            <div class="QA_section QA_section_heading_custom check_box_table">
                                <div class="QA_table">
                                    <table class="table Crm_table_active4">
                                        <thead>
                                            <tr>
                                                <th><?php echo e(__('common.sl')); ?></th>
                                                <th><?php echo e(__('common.name')); ?></th>
                                                <th><?php echo e(__('common.amount')); ?></th>
                                            </tr>
                                        </thead>
                                        <?php
                                        $user_list = \App\Models\User::whereIn('id',
                                        $top_disputed_customer->pluck('customer_id'))->get(['id','first_name']);
                                        ?>
                                        <tbody>
                                            <?php $__currentLoopData = $top_disputed_customer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $d_customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td><?php echo e($key + 1); ?></td>
                                                <td>
                                                    <?php echo e(@$user_list->where('id', @$d_customer->customer_id)->first()->first_name); ?>

                                                </td>
                                                <td><?php echo e(single_price($d_customer->total)); ?></td>
                                            </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <?php if(isModuleActive('MultiVendor')): ?>
                        <div role="tabpanel" class="tab-pane fade" id="top_seller_disputed">
                            <div class="box_header common_table_header ">
                                <div class="main-title d-md-flex">
                                    <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.top_sellers')); ?></h3>
                                </div>
                            </div>
                            <div class="QA_section QA_section_heading_custom check_box_table">
                                <div class="QA_table">
                                    <table class="table Crm_table_active4">
                                        <thead>
                                            <tr>
                                                <th><?php echo e(__('common.sl')); ?></th>
                                                <th><?php echo e(__('common.name')); ?></th>
                                                <th><?php echo e(__('common.amount')); ?></th>
                                            </tr>
                                        </thead>
                                        <?php
                                        $user_list = \App\Models\User::whereIn('id',
                                        $top_disputed_sellers->pluck('seller_id'))->get(['id','first_name']);
                                        ?>
                                        <tbody>
                                            <?php $__currentLoopData = $top_disputed_sellers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $d_seller): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php
                                            $seller_info = $user_list->where('id', $d_seller->seller_id)->first();
                                            ?>
                                            <tr>
                                                <td><?php echo e($key + 1); ?></td>
                                                <td><?php echo e($seller_info->first_name); ?></td>
                                                <td><?php echo e(single_price($seller_info->SellerRefundedAmounts)); ?></td>
                                            </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
            <?php endif; ?>

            <?php if(app('dashboard_setup')->where('type', 'reviews')->first()->is_active &&
            permissionCheck('dashboard_recent_reviews')): ?>
            <div class="col-lg-6 col-md-6 col-sm-6">
                <div class="white_box_30px mb_30">
                    <div class="box_header common_table_header ">
                        <div class="main-title d-md-flex">
                            <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.recent_reviews')); ?></h3>
                        </div>
                    </div>
                    <div class="box_header_right">
                        <div class="float-lg-right float-none pos_tab_btn justify-content-end">
                            <ul class="nav" role="tablist">
                                <li class="nav-item">
                                    <a class="nav-link active show" href="#product_reviews" role="tab" data-toggle="tab"
                                        id="customer_dispute" aria-selected="true"><?php echo e(__('dashboard.product_reviews')); ?></a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="#seller_reviews" role="tab" data-toggle="tab"
                                        id="seller_dispute" aria-selected="true"><?php if(isModuleActive('MultiVendor')): ?><?php echo e(__('dashboard.seller_reviews')); ?> <?php else: ?> <?php echo e(__('Company Reviews')); ?> <?php endif; ?></a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="tab-content">
                        <div role="tabpanel" class="tab-pane fade active show" id="product_reviews">
                            <div class="box_header common_table_header ">
                                <div class="main-title d-md-flex">
                                    <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.product_reviews')); ?>

                                    </h3>
                                </div>
                            </div>
                            <div class="QA_section QA_section_heading_custom check_box_table">
                                <div class="QA_table">
                                    <div class="table-responsive">
                                        <table class="table Crm_table_active4">
                                            <thead>
                                                <tr>
                                                    <th><?php echo e(__('common.sl')); ?></th>
                                                    <th><?php echo e(__('product.product_name')); ?></th>
                                                    <th><?php echo e(__('review.rating')); ?></th>
                                                    <th><?php echo e(__('review.customer_feedback')); ?></th>
                                                </tr>
                                            </thead>
                                            <?php
                                            $product_reviews =
                                            \Modules\Review\Entities\ProductReview::orderBy('id','desc')->get()->take(10);

                                            ?>
                                            <tbody>
                                                <?php $__currentLoopData = $product_reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $review): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                                <tr>
                                                    <td><?php echo e($key + 1); ?></td>
                                                    <td>
                                                        <p><?php echo e(($review->type ==
                                                            'product')?$review->product->product_name:$review->giftcard->name); ?>

                                                        </p>
                                                    </td>
                                                    <td>
                                                        <div class="review_star_icon text-nowrap">
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 1?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 2?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 3?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 4?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating == 5?'':'non_rated'); ?>"></i>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <p><?php echo e(\Str::substr($review->review, 0, 100)); ?></p>
                                                    </td>

                                                </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="seller_reviews">
                            <div class="box_header common_table_header ">
                                <div class="main-title d-md-flex">
                                    <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px"><?php echo e(__('dashboard.seller_reviews')); ?>

                                    </h3>
                                </div>
                            </div>
                            <div class="QA_section QA_section_heading_custom check_box_table">
                                <div class="QA_table">
                                    <div class="table-responsive">
                                        <table class="table Crm_table_active4">
                                            <thead>
                                                <tr>
                                                    <th><?php echo e(__('common.sl')); ?></th>
                                                    <?php if(isModuleActive('MultiVendor')): ?>
                                                    <th><?php echo e(__('common.seller')); ?></th>
                                                    <?php endif; ?>
                                                    <th><?php echo e(__('review.rating')); ?></th>
                                                    <th><?php echo e(__('review.customer_feedback')); ?></th>
                                                </tr>
                                            </thead>
                                            <?php
                                            $seller_reviews =
                                            \Modules\Review\Entities\SellerReview::orderBy('id','desc')->get()->take(10);
                                            ?>
                                            <tbody>
                                                <?php $__currentLoopData = $seller_reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $review): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                                <tr>
                                                    <td><?php echo e($key + 1); ?></td>
                                                    <?php if(isModuleActive('MultiVendor')): ?>
                                                    <td><?php echo e($review->seller->first_name); ?></td>
                                                    <?php endif; ?>
                                                    <td>
                                                        <div class="review_star_icon text-nowrap">
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 1?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 2?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 3?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating >= 4?'':'non_rated'); ?>"></i>
                                                            <i
                                                                class="fas fa-star review_star <?php echo e($review->rating == 5?'':'non_rated'); ?>"></i>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <p><?php echo e(\Str::substr($review->review, 0, 100)); ?></p>
                                                    </td>

                                                </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div>
    </div>
    <input type="hidden" id="vendorCheck" value="<?php echo e(isModuleActive('MultiVendor')?'true':'false'); ?>">
</section>
<input type="hidden" id="graph_total_product" value="<?php echo e($graph_total_product); ?>">
<input type="hidden" id="graph_admin_product" value="<?php echo e($graph_admin_product); ?>">
<input type="hidden" id="graph_seller_product" value="<?php echo e($graph_seller_product); ?>">
<input type="hidden" id="graph_total_sales" value="<?php echo e($graph_total_sales); ?>">
<input type="hidden" id="graph_completed_sales" value="<?php echo e($graph_completed_sales); ?>">
<input type="hidden" id="graph_cancelled_sales" value="<?php echo e($graph_cancelled_sales); ?>">
<input type="hidden" id="graph_total_sellers" value="<?php echo e($graph_total_sellers); ?>">
<input type="hidden" id="graph_normal_sellers" value="<?php echo e($graph_normal_sellers); ?>">
<input type="hidden" id="graph_trusted_sellers" value="<?php echo e($graph_trusted_sellers); ?>">
<input type="hidden" id="graph_total_carts" value="<?php echo e($total_product_in_cart); ?>">
<input type="hidden" id="graph_total_authorized_order" value="<?php echo e($graph_total_authorized_order); ?>">
<input type="hidden" id="graph_total_guest_order" value="<?php echo e($graph_total_guest_order); ?>">
<input type="hidden" id="graph_pending_sales_today" value="<?php echo e($graph_pending_sales_today); ?>">
<input type="hidden" id="graph_sales_today" value="<?php echo e($graph_sales_today); ?>">
<input type="hidden" id="graph_processing_sales_today" value="<?php echo e($graph_processing_sales_today); ?>">
<input type="hidden" id="graph_completed_sales_today" value="<?php echo e($graph_completed_sales_today); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script type="text/javascript">
    (function($) {
          "use strict";
          $(document).on('click', '.filtering', function () {
              $('.filtering').removeClass('active');
              $(this).addClass('active');
              let type = $(this).data('type');
              $('.gradient-color2').hide();
              $('.demo_wait').removeClass('d-none');
              $.ajax({
                  method: "get",
                  url: "<?php echo e(url('dashboard-cards-info')); ?>" + "/" + type,
                  success: function (data) {

                      $('.total_visitors').text(data.total_visitors);
                      $('.total_sale').text(data.total_sale);
                      $('.total_order').text(data.total_order);
                      $('.total_pending_order').text(data.total_pending_order);
                      $('.total_completed_order').text(data.total_completed_order);
                      $('.total_review').text(data.total_review);
                      $('.total_revenue').text(data.total_revenue);
                      $('.gradient-color2').show();
                      $('.demo_wait').addClass('d-none');
                  }
              })
          });
          $(function() {

            Chart.defaults.global.legend.labels.usePointStyle = true;
            if (document.getElementById('traffic-chartt') != null) {
                if($('#vendorCheck').val() == 'true'){
                    var dataType = [$('#graph_total_product').val(), $('#graph_admin_product').val(), $('#graph_seller_product').val()];
                }else{
                    var dataType = [$('#graph_total_product').val(), $('#graph_admin_product').val()];
                }
                var ctx = document.getElementById('traffic-chartt').getContext("2d");
                if ($("#traffic-chartt").length) {

                  var trafficChartData = {
                    datasets: [{
                      data: dataType,
                      backgroundColor: [
                        "#d5d1fc",
                        "#b044cf",
                        "#c7eaee"
                      ],
                      hoverBackgroundColor: [
                          "#d5d1fc",
                          "#b044cf",
                          "#c7eaee"
                      ],
                      borderColor: [
                        "transparent",
                        "transparent",
                        "transparent"
                      ],
                      legendColor: [
                        "#d5d1fc",
                        "#b044cf",
                        "#c7eaee"
                      ]
                    }],

                    // These labels appear in the legend and in the tooltips when hovering different arcs
                    labels: [
                      'Published',
                      'Total',
                      'Seller',
                    ]
                  };

                  var trafficChartOptions = {
                    responsive: true,
                    cutoutPercentage: 65,
                    animation: {
                      animateScale: true,
                      animateRotate: true
                    },
                    legend: false,
                    legendCallback: function(chart) {
                      var text = [];
                      text.push('<ul>');
                      for (var i = 0; i < trafficChartData.datasets[0].data.length; i++) {
                          text.push('<li><span class="legend-dots" style="background:' +
                          trafficChartData.datasets[0].legendColor[i] +
                                      '"></span><div class="legend_name"><span>');
                          if (trafficChartData.labels[i]) {
                              text.push(trafficChartData.labels[i]);
                          }
                          text.push('</span><span class="value_legend">'+trafficChartData.datasets[0].data[i]+'</span>')
                          text.push('</div></li>');
                      }
                      text.push('</ul>');
                      return text.join('');
                    }
                  };
                  var trafficChartCanvas = $("#traffic-chartt").get(0).getContext("2d");
                  var trafficChart = new Chart(trafficChartCanvas, {
                    type: 'doughnut',
                    data: trafficChartData,
                    options: trafficChartOptions
                  });
                  $("#traffic-chart-legendd").html(trafficChart.generateLegend());
                }
            }
            if (document.getElementById('traffic-chart2') != null) {
                Chart.defaults.global.legend.labels.usePointStyle = true;
                var ctx = document.getElementById('traffic-chart2').getContext("2d");
                if ($("#traffic-chart2").length) {

                  var trafficChartData = {
                    datasets: [{
                      data: [$('#graph_total_sales').val(), $('#graph_cancelled_sales').val(), $('#graph_completed_sales').val(), $('#graph_pending_sales_today').val()],
                      backgroundColor: [
                        "#d5d1fc",
                        "#000080",
                        "#c7eaee",
                        "#b044cf",
                      ],
                      hoverBackgroundColor: [
                        "#d5d1fc",
                        "#000080",
                        "#c7eaee",
                        "#b044cf",
                      ],
                      borderColor: [
                        "transparent",
                        "transparent",
                        "transparent",
                        "transparent",
                      ],
                      legendColor: [
                        "#d5d1fc",
                        "#000080",
                        "#c7eaee",
                        "#b044cf",
                      ]
                    }],

                    // These labels appear in the legend and in the tooltips when hovering different arcs
                    labels: [
                      'Total',
                      'Complete',
                      'Processing',
                      'Pending',
                    ]
                  };

                  var trafficChartOptions = {
                    responsive: true,
                    cutoutPercentage: 65,
                    animation: {
                      animateScale: true,
                      animateRotate: true
                    },
                    legend: false,
                    legendCallback: function(chart) {
                      var text = [];
                      text.push('<ul>');
                      for (var i = 0; i < trafficChartData.datasets[0].data.length; i++) {
                          text.push('<li><span class="legend-dots" style="background:' +
                          trafficChartData.datasets[0].legendColor[i] +
                                      '"></span><div class="legend_name"><span>');
                          if (trafficChartData.labels[i]) {
                              text.push(trafficChartData.labels[i]);
                          }
                          text.push('</span><span class="value_legend">'+trafficChartData.datasets[0].data[i]+'</span>')
                          text.push('</div></li>');
                      }
                      text.push('</ul>');
                      return text.join('');
                    }
                  };
                  var trafficChartCanvas = $("#traffic-chart2").get(0).getContext("2d");
                  var trafficChart = new Chart(trafficChartCanvas, {
                    type: 'doughnut',
                    data: trafficChartData,
                    options: trafficChartOptions
                  });
                  $("#traffic-chart-legend2").html(trafficChart.generateLegend());
                }
            }
            if (document.getElementById('traffic-chart3') != null) {
                Chart.defaults.global.legend.labels.usePointStyle = true;
                var ctx = document.getElementById('traffic-chart3').getContext("2d");
                if ($("#traffic-chart3").length) {

                  var trafficChartData = {
                    datasets: [{
                      data: [$('#graph_total_sellers').val(), $('#graph_trusted_sellers').val(), $('#graph_normal_sellers').val()],
                      backgroundColor: [
                        "#d5d1fc",
                        "#b742d3",
                        "#c7eaee",
                      ],
                      hoverBackgroundColor: [
                        "#d5d1fc",
                        "#b742d3",
                        "#c7eaee",
                      ],
                      borderColor: [
                        "transparent",
                        "transparent",
                        "transparent",
                      ],
                      legendColor: [
                        "#d5d1fc",
                        "#b742d3",
                        "#c7eaee",
                      ]
                    }],

                    // These labels appear in the legend and in the tooltips when hovering different arcs
                    labels: [
                      'Total Seller',
                      'Trusted Seller',
                      'Regular Seller',
                    ]
                  };

                  var trafficChartOptions = {
                    responsive: true,
                    cutoutPercentage: 65,
                    animation: {
                      animateScale: true,
                      animateRotate: true
                    },
                    legend: false,
                    legendCallback: function(chart) {
                      var text = [];
                      text.push('<ul>');
                      for (var i = 0; i < trafficChartData.datasets[0].data.length; i++) {
                          text.push('<li><span class="legend-dots" style="background:' +
                          trafficChartData.datasets[0].legendColor[i] +
                                      '"></span><div class="legend_name"><span>');
                          if (trafficChartData.labels[i]) {
                              text.push(trafficChartData.labels[i]);
                          }
                          text.push('</span><span class="value_legend">'+trafficChartData.datasets[0].data[i]+'</span>')
                          text.push('</div></li>');
                      }
                      text.push('</ul>');
                      return text.join('');
                    }
                  };
                  var trafficChartCanvas = $("#traffic-chart3").get(0).getContext("2d");
                  var trafficChart = new Chart(trafficChartCanvas, {
                    type: 'doughnut',
                    data: trafficChartData,
                    options: trafficChartOptions
                  });
                  $("#traffic-chart-legend3").html(trafficChart.generateLegend());
                }
            }
            if (document.getElementById('traffic-chart4') != null) {
                Chart.defaults.global.legend.labels.usePointStyle = true;
                var ctx = document.getElementById('traffic-chart4').getContext("2d");
                if ($("#traffic-chart4").length) {

                  var trafficChartData = {
                    datasets: [{
                      data: [$('#graph_total_carts').val(), $('#graph_total_authorized_order').val(), $('#graph_total_guest_order').val()],
                      backgroundColor: [
                        "#d5d1fc",
                        "#b742d3",
                        "#c7eaee",
                      ],
                      hoverBackgroundColor: [
                        "#d5d1fc",
                        "#b742d3",
                        "#c7eaee",
                      ],
                      borderColor: [
                        "transparent",
                        "transparent",
                        "transparent",
                      ],
                      legendColor: [
                        "#d5d1fc",
                        "#b742d3",
                        "#c7eaee",
                      ]
                    }],

                    // These labels appear in the legend and in the tooltips when hovering different arcs
                    labels: [
                      'In Carts',
                      'Registered',
                      'Guest',
                    ]
                  };

                  var trafficChartOptions = {
                    responsive: true,
                    cutoutPercentage: 65,
                    animation: {
                      animateScale: true,
                      animateRotate: true
                    },
                    legend: false,
                    legendCallback: function(chart) {
                      var text = [];
                      text.push('<ul>');
                      for (var i = 0; i < trafficChartData.datasets[0].data.length; i++) {
                          text.push('<li><span class="legend-dots" style="background:' +
                          trafficChartData.datasets[0].legendColor[i] +
                                      '"></span><div class="legend_name"><span>');
                          if (trafficChartData.labels[i]) {
                              text.push(trafficChartData.labels[i]);
                          }
                          text.push('</span><span class="value_legend">'+trafficChartData.datasets[0].data[i]+'</span>')
                          text.push('</div></li>');
                      }
                      text.push('</ul>');
                      return text.join('');
                    }
                  };
                  var trafficChartCanvas = $("#traffic-chart4").get(0).getContext("2d");
                  var trafficChart = new Chart(trafficChartCanvas, {
                    type: 'doughnut',
                    data: trafficChartData,
                    options: trafficChartOptions
                  });
                  $("#traffic-chart-legend4").html(trafficChart.generateLegend());
                }
            }
            if (document.getElementById('traffic-chart5') != null) {
                Chart.defaults.global.legend.labels.usePointStyle = true;
                var ctx = document.getElementById('traffic-chart5').getContext("2d");
                if ($("#traffic-chart5").length) {

                  var trafficChartData = {
                    datasets: [{
                      data: [$('#graph_sales_today').val(), $('#graph_pending_sales_today').val(), $('#graph_processing_sales_today').val(), $('#graph_completed_sales_today').val()],
                      backgroundColor: [
                        "#d5d1fc",
                        "#000080",
                        "#c7eaee",
                        "#b044cf",
                      ],
                      hoverBackgroundColor: [
                        "#d5d1fc",
                        "#000080",
                        "#c7eaee",
                        "#b044cf",
                      ],
                      borderColor: [
                        "transparent",
                        "transparent",
                        "transparent",
                        "transparent",
                      ],
                      legendColor: [
                        "#d5d1fc",
                        "#000080",
                        "#c7eaee",
                        "#b044cf",
                      ]
                    }],

                    // These labels appear in the legend and in the tooltips when hovering different arcs
                    labels: [
                      'Total',
                      'Pending',
                      'Processing',
                      'Completed',
                    ]
                  };

                  var trafficChartOptions = {
                    responsive: true,
                    cutoutPercentage: 65,
                    animation: {
                      animateScale: true,
                      animateRotate: true
                    },
                    legend: false,
                    legendCallback: function(chart) {
                      var text = [];
                      text.push('<ul>');
                      for (var i = 0; i < trafficChartData.datasets[0].data.length; i++) {
                          text.push('<li><span class="legend-dots" style="background:' +
                          trafficChartData.datasets[0].legendColor[i] +
                                      '"></span><div class="legend_name"><span>');
                          if (trafficChartData.labels[i]) {
                              text.push(trafficChartData.labels[i]);
                          }
                          text.push('</span><span class="value_legend">'+trafficChartData.datasets[0].data[i]+'</span>')
                          text.push('</div></li>');
                      }
                      text.push('</ul>');
                      return text.join('');
                    }
                  };
                  var trafficChartCanvas = $("#traffic-chart5").get(0).getContext("2d");
                  var trafficChart = new Chart(trafficChartCanvas, {
                    type: 'doughnut',
                    data: trafficChartData,
                    options: trafficChartOptions
                  });
                  $("#traffic-chart-legend5").html(trafficChart.generateLegend());
                }
            }
          });
        })(jQuery);

</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('backEnd.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/www.shooperm.com/resources/views/backEnd/dashboard.blade.php ENDPATH**/ ?>