|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/erp.theinteractive.co.in/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('page-title'); ?>
<?php echo e(__('Dashboard')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('theme-script'); ?>
<script src="<?php echo e(asset('assets/libs/apexcharts/dist/apexcharts.min.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php $__env->startPush('script-page'); ?>
<script>
(function () {
var chartBarOptions = {
series: [
{
name: '<?php echo e(__("Income")); ?>',
data: <?php echo json_encode ($chartData['data']); ?>,
},
],
chart: {
height: 300,
type: 'area',
// type: 'line',
dropShadow: {
enabled: true,
color: '#000',
top: 18,
left: 7,
blur: 10,
opacity: 0.2
},
toolbar: {
show: false
}
},
dataLabels: {
enabled: false
},
stroke: {
width: 2,
curve: 'smooth'
},
title: {
text: '',
align: 'left'
},
xaxis: {
categories: <?php echo json_encode($chartData['label']); ?>,
title: {
text: '<?php echo e(__("Months")); ?>'
}
},
colors: ['#6fd944', '#6fd944'],
grid: {
strokeDashArray: 4,
},
legend: {
show: false,
},
// markers: {
// size: 4,
// colors: ['#ffa21d', '#FF3A6E'],
// opacity: 0.9,
// strokeWidth: 2,
// hover: {
// size: 7,
// }
// },
yaxis: {
title: {
text: '<?php echo e(__("Income")); ?>'
},
}
};
var arChart = new ApexCharts(document.querySelector("#chart-sales"), chartBarOptions);
arChart.render();
})();
</script>
<?php $__env->stopPush(); ?>
<?php
$admin_payment_setting = Utility::getAdminPaymentSetting();
?>
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="card-body p-3">
<div class="d-flex align-items-center justify-content-between">
<div class="d-flex align-items-center mb-3 mt-3">
<div class="theme-avtar bg-primary">
<i class="ti ti-users"></i>
</div>
<div class="ms-3 mb-3 mt-3">
<h6 class="ml-4"><?php echo e(__('Total Users')); ?></h6>
</div>
</div>
<div class="number-icon ms-3 mb-3 mt-3"><h3><?php echo e($user->total_user); ?></h3></div>
<div class="ms-3 mb-3 mt-3">
<h6><?php echo e(__('Paid Users')); ?> : <?php echo e($user['total_paid_user']); ?></h6>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="card-body p-3">
<div class="d-flex align-items-center justify-content-between">
<div class="d-flex align-items-center mb-3 mt-3">
<div class="theme-avtar bg-warning">
<i class="ti ti-shopping-cart"></i>
</div>
<div class="ms-3 mb-3 mt-3">
<h6 class="ml-4"><?php echo e(__('Total Orders')); ?></h6>
</div>
</div>
<div class="number-icon ms-3 mb-3 mt-3"><h3><?php echo e($user->total_orders); ?></h3></div>
<div class="ms-3 mb-3 mt-3">
<h6><?php echo e(__('Total Order Amount')); ?> : <span class="text-dark"><?php echo e(isset($admin_payment_setting['currency_symbol']) ? $admin_payment_setting['currency_symbol'] : '$'); ?><?php echo e($user['total_orders_price']); ?></span></h6>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="card-body p-3">
<div class="d-flex align-items-center justify-content-between">
<div class="d-flex align-items-center mb-3 mt-3">
<div class="theme-avtar bg-info">
<i class="ti ti-trophy"></i>
</div>
<div class="ms-3 mb-3 mt-3">
<h6 class="ml-4"><?php echo e(__('Total Plans')); ?></h6>
</div>
</div>
<div class="number-icon ms-3 mb-3 mt-3"><h3><?php echo e($user->total_plan); ?></h3></div>
<div class="ms-3 mb-3 mt-3">
<h6><?php echo e(__('Most Purchase Plan')); ?> : <span class="text-dark"><?php echo e($user['most_purchese_plan']); ?></span></h6>
</div>
</div>
</div>
</div>
</div>
<div class="col-xxl-12">
<h4 class="h4 font-weight-400"><?php echo e(__('Recent Order')); ?></h4>
<div class="card">
<div class="chart">
<div id="chart-sales" data-color="primary" data-height="280" class="p-3"></div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/erp.theinteractive.co.in/resources/views/dashboard/super_admin.blade.php ENDPATH**/ ?>