Viewing file: d92deadc7c6053acdfa05318b877f5ab381b043a.php (14.67 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('page_title', __('Dashboard')); ?>
<?php $__env->startSection('css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('public/datta-able/fonts/material/css/materialdesignicons.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('public/dist/plugins/Responsive-2.2.5/css/responsive.dataTables.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('public/dist/plugins/bootstrap-daterangepicker/daterangepicker.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('public/dist/css/custom.min.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Main content -->
<div class="col-sm-4">
<a href="<?php echo e(route('transaction.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-stop-circle f-30 text-c-yellow neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e(formatNumber($thisMonthSales)); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $thisMonthSalesCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__('Total sales')); ?> <small class="font-weight-600 c-gray-5">(<?php echo e(__('last :x days', ['x' => 30])); ?>)</small></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('transaction.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="fas fa-donate f-30 text-c-yellow rides-icon neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e(formatNumber($commissionThisMonth)); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $commissionThisMonthCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__('Commission')); ?> <small class="font-weight-600 c-gray-5">(<?php echo e(__('last :x days', ['x' => 30])); ?>)</small></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('order.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-shopping-cart f-30 text-c-yellow neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($thisMonthOrdersCount); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $thisMonthOrdersCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__('Orders')); ?> <small class="font-weight-600 c-gray-5">(<?php echo e(__('last :x days', ['x' => 30])); ?>)</small></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('refund.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-repeat f-30 text-c-yellow rides-icon neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($newRefunds); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $newRefundsCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?></h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__('Refund Requests')); ?></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('product.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-package f-30 text-c-yellow neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($newProducts); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $newProductsCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__("Products")); ?> <small class="font-weight-600 c-gray-5">(<?php echo e(__('last :x days', ['x' => 30])); ?>)</small></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('vendors.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-home f-30 text-c-yellow rides-icon neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($newVendors); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $newVendorsCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__("Vendors")); ?> <small class="font-weight-600 c-gray-5">(<?php echo e(__('last :x days', ['x' => 30])); ?>)</small></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('users.index')); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-user-plus f-30 text-c-yellow rides-icon neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($newUsers); ?>
<?php echo $__env->make('admin.dashboxes.partials.compare', [
'change' => $newUsersCompare,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__("Users")); ?> <small class="font-weight-600 c-gray-5">(<?php echo e(__('last :x days', ['x' => 30])); ?>)</small></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('admin.tickets', ['thread_status' => 'open'])); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="fas fa-ticket-alt f-30 text-c-yellow neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($openTicketCount); ?></h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5"><?php echo e(__('Open Tickets')); ?></span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-4">
<a href="<?php echo e(route('withdrawal.index', ['status' => 'Pending'])); ?>" target="_blank">
<div class="card">
<div class="card-block">
<div class="row d-flex align-items-center">
<div class="col-auto">
<i class="feather icon-share f-30 text-c-yellow neg-transition-scale-svg "></i>
</div>
<div class="col">
<h3 class="font-weight-500"><?php echo e($withdrawalRequestCount); ?></h3>
<span class="d-block text-uppercase font-weight-600 c-gray-5">
<?php echo e(__("Withdrawal Request")); ?>
<small class="font-weight-600 c-gray-5">(<?php echo e(__('Pending')); ?>)</small>
</span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-sm-8"></div>
<div class="col-md-5">
<?php echo $__env->make('admin.dashboxes.donut-chart', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-md-7">
<?php echo $__env->make('admin.dashboxes.heatmap', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-md-6">
<?php echo $__env->make('admin.dashboxes.vendor-stats', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-md-6">
<?php echo $__env->make('admin.dashboxes.vendor-request', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-md-4">
<?php echo $__env->make('admin.dashboxes.most-sold-products', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-md-4">
<?php echo $__env->make('admin.dashboxes.most-sold-brands', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-md-4">
<?php echo $__env->make('admin.dashboxes.most-active-users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script>
const localeString = "<?php echo e(app()->getLocale()); ?>";
const mostSoldProductsUrl = "<?php echo e(route('dashboard.most-sold-products')); ?>";
const mostActiveUsersUrl = "<?php echo e(route('dashboard.most-active-users')); ?>";
const vendorStatsUrl = "<?php echo e(route('dashboard.vendor-stats')); ?>";
const vendorStatsUrlDaily = "<?php echo e(route('dashboard.vendor-stats-type','daily')); ?>";
const vendorStatsUrlWeekly = "<?php echo e(route('dashboard.vendor-stats-type','weekly')); ?>";
const vendorStatsUrlMonthly = "<?php echo e(route('dashboard.vendor-stats-type','monthly')); ?>";
const vendorStatsUrlYearly = "<?php echo e(route('dashboard.vendor-stats-type','yearly')); ?>";
const salesOfThisMonth = "<?php echo e(route('dashboard.sales-of-this-month')); ?>";
const vendorEdiUrl = "<?php echo e(route('vendors.edit', ['id' => '__id__'])); ?>";
const vendorReqsUrl = "<?php echo e(route('dashboard.vendor-req')); ?>";
</script>
<script src="<?php echo e(asset('public/dist/plugins/DataTables-1.10.21/js/jquery.dataTablesCus.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/dist/plugins/Responsive-2.2.5/js/dataTables.responsive.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/dist/js/moment.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/dist/plugins/bootstrap-daterangepicker/daterangepicker.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/datta-able/plugins/chart-chartjs/js/Chart-2019.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/datta-able/plugins/sweetalert/js/sweetalert.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/dist/js/custom/dashboard.min.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/resources/views/admin/dashboard.blade.php ENDPATH**/ ?>
|