Edit File: cb48c77baf687434393672602ea24c9c8f4219de.php
<?php $__env->startSection('css'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/tables/datatable/datatables.min.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/tables/datatable/extensions/dataTables.checkboxes.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/css-rtl/pages/data-list-view.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/css-rtl/core/colors/palette-gradient.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/extensions/sweetalert2.min.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row hight-card"> <div class="col-lg-4 col-md-6 col-12 mb-2"> <div class="card lg-n"> <div class="card-header d-flex justify-content-between pb-0"> <h4 class="card-title mb-1"><?php echo e(awtTrans('المستخدمين')); ?></h4> </div> <div class="card-content"> <div class="card-body py-0"> <div id="customer-chart"></div> </div> <ul class="list-group list-group-flush customer-info"> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-primary"></i> <span class="text-bold-600"><?php echo e(awtTrans('المستخدمين النشطين')); ?></span> </div> <div class="product-result"> <span><?php echo e($activeUsers); ?></span> </div> </li> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-warning"></i> <span class="text-bold-600"><?php echo e(awtTrans('المستخدمين الغير النشطين')); ?></span> </div> <div class="product-result"> <span><?php echo e($notActiveUsers); ?></span> </div> </li> </ul> </div> </div> </div> <div class="col-lg-4 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between align-items-end"> <h4 class="mb-1"><?php echo e(awtTrans('المناديب')); ?></h4> </div> <div class="card-content"> <div class="card-body pt-0"> <div id="session-chart" class="mb-1"></div> <div class="chart-info d-flex justify-content-between mb-1"> <div class="series-info d-flex align-items-center"> <i class="feather icon-monitor font-medium-2 text-primary"></i> <span class="text-bold-600 mx-50"><?php echo e(awtTrans('المناديب النشطين')); ?></span> </div> <div class="series-result"> <span><?php echo e($activeDelegate); ?></span> </div> </div> <div class="chart-info d-flex justify-content-between mb-1"> <div class="series-info d-flex align-items-center"> <i class="feather icon-tablet font-medium-2 text-warning"></i> <span class="text-bold-600 mx-50"><?php echo e(awtTrans('المناديب الغير النشطين')); ?></span> </div> <div class="series-result"> <span><?php echo e($notActiveDelegate); ?></span> </div> </div> </div> </div> </div> </div> <div class="col-lg-4 col-md-6 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between pb-0"> <h4 class="card-title mb-1"><?php echo e(awtTrans('طلبات المناديب')); ?></h4> </div> <div class="card-content"> <div class="card-body py-0"> <div id="order_delegate"></div> </div> <ul class="list-group list-group-flush customer-info"> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-primary"></i> <span class="text-bold-600"><?php echo e(awtTrans('عدد المناديب')); ?></span> </div> <div class="product-result"> <span><?php echo e($countDelegate); ?></span> </div> </li> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-warning"></i> <span class="text-bold-600"><?php echo e(awtTrans('عدد الطلبات')); ?></span> </div> <div class="product-result"> <span><?php echo e($countDelegatePending); ?></span> </div> </li> </ul> </div> </div> </div> <div class="col-lg-4 col-md-6 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between align-items-end"> <h4 class="mb-1"><?php echo e(awtTrans('المشرفين')); ?></h4> </div> <div class="card-content"> <div class="card-body px-0 pb-0"> <div id="goal-overview-chart" class="mt-75"></div> <div class="row text-center mx-0"> <div class="col-6 border-top border-right d-flex align-items-between flex-column py-1"> <p class="mb-50"><?php echo e(awtTrans('المشرفين النشطين')); ?></p> <p class="font-large-1 text-bold-700"><?php echo e($admins_active); ?></p> </div> <div class="col-6 border-top d-flex align-items-between flex-column py-1"> <p class="mb-50"><?php echo e(awtTrans('المشرفون المحظورون ')); ?></p> <p class="font-large-1 text-bold-700"><?php echo e($admins_blocked); ?> </p> </div> </div> </div> </div> </div> </div> <div class="col-lg-4 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between pb-0"> <h4 class="card-title mb-1"><?php echo e(awtTrans('الطلبات الجديدة')); ?></h4> </div> <div class="card-content"> <div class="card-body py-0"> <div id="new-chart"></div> </div> <ul class="list-group list-group-flush customer-info"> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-warning"></i> <span class="text-bold-600"><?php echo e(awtTrans('الطلبات الجديدة')); ?></span> </div> <div class="product-result"> <span><?php echo e($new_orders); ?></span> </div> </li> </ul> </div> </div> </div> <div class="col-lg-4 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between pb-0"> <h4 class="card-title mb-1"><?php echo e(awtTrans('الطلبات النشطة')); ?></h4> </div> <div class="card-content"> <div class="card-body py-0"> <div id="order-chart"></div> </div> <ul class="list-group list-group-flush customer-info"> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-warning"></i> <span class="text-bold-600"><?php echo e(awtTrans('الطلبات النشطة')); ?></span> </div> <div class="product-result"> <span><?php echo e($active_orders); ?></span> </div> </li> </ul> </div> </div> </div> <div class="col-lg-4 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between pb-0"> <h4 class="card-title mb-1"><?php echo e(awtTrans('الطلبات المنتهية')); ?></h4> </div> <div class="card-content"> <div class="card-body py-0"> <div id="finish-chart"></div> </div> <ul class="list-group list-group-flush customer-info"> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-warning"></i> <span class="text-bold-600"><?php echo e(awtTrans('الطلبات المنتهية')); ?></span> </div> <div class="product-result"> <span><?php echo e($finished_orders); ?></span> </div> </li> </ul> </div> </div> </div> <div class="col-lg-4 col-12 mb-2"> <div class="card"> <div class="card-header d-flex justify-content-between pb-0"> <h4 class="card-title mb-1"><?php echo e(awtTrans('الطلبات الملغية')); ?></h4> </div> <div class="card-content"> <div class="card-body py-0"> <div id="cancel-chart"></div> </div> <ul class="list-group list-group-flush customer-info"> <li class="list-group-item d-flex justify-content-between "> <div class="series-info"> <i class="fa fa-circle font-small-3 text-warning"></i> <span class="text-bold-600"><?php echo e(awtTrans('الطلبات الملغية')); ?></span> </div> <div class="product-result"> <span><?php echo e($closed_orders); ?></span> </div> </li> </ul> </div> </div> </div> </div> <div class="row"> <h3 class="col-12 d-flex mb-2"><?php echo e(awtTrans('احصائيات المشروع')); ?></h3> <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $color = $colores[array_rand($colores)] ?> <a href="<?php echo e($menu['url']); ?>" class="col-xl-2 col-md-4 col-sm-6 mb-2"> <div class="card statistics-card text-center"> <div class="card-content"> <div class="card-body"> <div class="avatar bg-rgba-<?php echo e($color); ?> p-50 m-0 mb-1"> <div class="avatar-content"> <i class="feather <?php echo $menu['icon']; ?> text-<?php echo $color; ?> font-medium-5"></i> </div> </div> <h2 class="text-bold-700"><?php echo e($menu['count']); ?></h2> <p class="mb-0 line-ellipsis" style="color: #6e6a6a"><?php echo e($menu['name']); ?></p> </div> </div> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <script src="<?php echo e(asset('admin/charts_functions.js')); ?>"></script> <script> new ApexCharts( document.querySelector("#support-tracker-chart"), pieChartFunction(['<?php echo e(awtTrans('المتاجر المتعاقدة')); ?>','<?php echo e(awtTrans('المتاجر الغير متعاقدة')); ?>', '<?php echo e(awtTrans('المتاجر بإنتظار القبول')); ?>', '<?php echo e(awtTrans('المتاجر المرفوضة')); ?>' ], [<?php echo e($stores_contracted); ?>, <?php echo e($google_stores); ?>, <?php echo e($stores_pending); ?>, <?php echo e($stores_refused); ?>] , ['#7367F0', '#FF9F43', '#000', '#ff0000']) ).render(); new ApexCharts( document.querySelector("#customer-chart"), pieChartFunction(['active', 'not active'] , [ Number('<?php echo e($activeUsers); ?>'), Number('<?php echo e($notActiveUsers); ?>')] , ['#7367F0', '#FF9F43']) ).render(); new ApexCharts( document.querySelector("#order_delegate"), pieChartFunction(['<?php echo e(awtTrans('عدد المناديب')); ?>', '<?php echo e(awtTrans('عدد الطلبات')); ?>'] , [ Number('<?php echo e($countDelegate); ?>'), Number('<?php echo e($countDelegatePending); ?>')] , ['#7367F0', '#FF9F43']) ).render(); new ApexCharts( document.querySelector("#new-chart"), pieChartFunction(['new', 'total orders'] , [ Number('<?php echo e($new_orders); ?>'), Number('<?php echo e($orders); ?>')] , ['#7367F0', '#FF9F43']) ).render(); new ApexCharts( document.querySelector("#order-chart"), pieChartFunction(['active orders', 'total orders'] , [ Number('<?php echo e($active_orders); ?>'), Number('<?php echo e($orders); ?>')] , ['#7367F0', '#FF9F43']) ).render(); new ApexCharts( document.querySelector("#finish-chart"), pieChartFunction(['finished order', 'total orders'] , [ Number('<?php echo e($finished_orders); ?>'), Number('<?php echo e($orders); ?>')] , ['#7367F0', '#FF9F43']) ).render(); new ApexCharts( document.querySelector("#cancel-chart"), pieChartFunction(['canceled order', 'total orders'] , [ Number('<?php echo e($closed_orders); ?>'), Number('<?php echo e($orders); ?>')] , ['#7367F0', '#FF9F43']) ).render(); var productChart = new ApexCharts( document.querySelector("#product-order-chart"), radialBarFunction2(['#7367F0', '#FF9F43', '#000'] , [ '#8F80F9', '#FFC085', '#ff0000'] , [ Math.round((Number('<?php echo e($companiesPending); ?>') * 100 / (Number('<?php echo e($totalCompanies); ?>')))) , Math.round((Number('<?php echo e($companiesAccept); ?>') * 100 / (Number('<?php echo e($totalCompanies); ?>')))), Math.round((Number('<?php echo e($companiesNotAccept); ?>') * 100 / (Number('<?php echo e($totalCompanies); ?>'))))] , ['<?php echo e(awtTrans('المنتظر')); ?>', '<?php echo e(awtTrans('المقبول')); ?>', '<?php echo e(awtTrans('المرفوض')); ?>']) ).render(); var sessionChart = new ApexCharts( document.querySelector("#session-chart"), donutFunction([Math.round(Number('<?php echo e(($activeDelegate * 100) / ($activeDelegate + $notActiveDelegate == 0 ? 1 :$activeDelegate + $notActiveDelegate )); ?>')), Math.round(Number('<?php echo e(($notActiveDelegate * 100) / ($activeDelegate + $notActiveDelegate == 0 ? 1 :$activeDelegate + $notActiveDelegate )); ?>'))], ['Active Delegates', 'Not Active Delegates'], ['#7367F0', '#FF9F43'], ['#A9A2F6', '#ffc085']) ).render(); var goalChart = new ApexCharts( document.querySelector("#goal-overview-chart"), radialBarFunction3([Math.round( Number('<?php echo e(($admins_active * 100) / ($admins_active + $admins_blocked == 0 ? 1 :$admins_active + $admins_blocked)); ?>')) , Math.round(Number('<?php echo e(($admins_blocked * 100) / ($admins_active + $admins_blocked == 0 ? 1 : $admins_active + $admins_blocked)); ?>'))]) ).render(); var revenueChartoptions = { chart: { height: 270, toolbar: { show: false }, type: 'line', }, stroke: { curve: 'smooth', dashArray: [0, 8], width: [4, 2], }, grid: { borderColor: '#e7e7e7', }, legend: { show: false, }, colors: ['#f29292', '#b9c3cd'], fill: { type: 'gradient', gradient: { shade: 'dark', inverseColors: false, gradientToColors: ['#7367F0', '#b9c3cd'], shadeIntensity: 1, type: 'horizontal', opacityFrom: 1, opacityTo: 1, stops: [0, 100, 100, 100] }, }, markers: { size: 0, hover: { size: 5 } }, xaxis: { labels: { style: { colors: '#b9c3cd', } }, axisTicks: { show: false, }, categories: ['1', '2', '3', '4', '5', '6', '7', '8' ,'9','10','11','12'], axisBorder: { show: false, }, tickPlacement: 'on', }, yaxis: { tickAmount: 5, labels: { style: { color: '#b9c3cd', }, formatter: function (val) { return val > 999 ? (val / 1000).toFixed(1) + 'k' : val; } } }, tooltip: { x: { show: false } }, series: [{ name: "<?php echo e(awtTrans('البلاد')); ?>", data: <?php echo json_encode($countryArray, 15, 512) ?> } , { name: "<?php echo e(awtTrans('المدن')); ?>", data: <?php echo json_encode($cityArray, 15, 512) ?> } ], } var revenueChart = new ApexCharts( document.querySelector("#revenue-chart"), revenueChartoptions ).render(); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/satransi/public_html/resources/views/admin/statistics/index.blade.php ENDPATH**/ ?>
Back to File Manager