Viewing file: d9765145f3087612d2a06a4685d0874d3d67dd39.php (16.72 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Dashboard <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Content Header (Page header) --> <div class="content-header">
</div> <!-- /.content-header -->
<!-- Main content --> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-6 col-6"> <div class="card small-widget"> <div class="card-body small-box"> <span class="card-title-small-box"><?php echo app('translator')->get('admin.dashboard.today_inbox'); ?></span> <div class="total-sms"> <div class="count-sms"> <?php echo e($newMessageCount); ?>
</div> <div class="sms-img"> <i class="fa fa-inbox icon" aria-hidden="true"></i> </div> <ul class="bubbles"> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> </ul> </div> </div> </div> </div> <div class="col-lg-3 col-md-3 col-sm-6 col-6"> <div class="card small-widget"> <div class="card-body small-box"> <span class="card-title-small-box"><?php echo app('translator')->get('admin.dashboard.today_sent'); ?></span> <div class="total-sms"> <div class="count-sms"> <?php echo e($newMessageCount); ?>
</div> <div class="sms-img"> <i class="fa fa-paper-plane icon" aria-hidden="true"></i> </div> <ul class="bubbles"> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li>
</ul> </div> </div> </div>
</div> <div class="col-lg-3 col-md-3 col-sm-6 col-6"> <div class="card small-widget"> <div class="card-body small-box sms-received"> <span class="card-title-small-box"><?php echo app('translator')->get('admin.dashboard.total_inbox'); ?></span> <div class="total-sms"> <div class="count-sms"> <?php echo e($totalInbox); ?>
</div> <div class="sms-img"> <i class="fa fa-envelope icon" aria-hidden="true"></i> </div> <ul class="bubbles"> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li>
</ul> </div> </div> </div>
</div> <div class="col-lg-3 col-md-3 col-sm-6 col-6"> <div class="card small-widget"> <div class="card-body small-box sms-received"> <span class="card-title-small-box"><?php echo app('translator')->get('admin.dashboard.total_sent'); ?></span> <div class="total-sms"> <div class="count-sms"> <?php echo e($totalSent); ?>
</div> <div class="sms-img"> <i class="fa fa-share-square icon" aria-hidden="true"></i> </div>
<ul class="bubbles"> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li> <li class="bubble"></li>
</ul> </div> </div> </div>
</div> <!-- ./col --> </div>
<div class="row"> <div class="col-sm-6"> <div class="card custom-chart-card"> <div id="customer-chart"></div> </div> </div> <div class="col-sm-6"> <div class="card custom-chart-card"> <div id="revenue-chart"></div> </div> </div> </div>
<div class="row"> <div class="col-lg-6 col-md-12 col-12"> <?php if(isset($latest_customers) && $latest_customers): ?> <div class="new-customer-table"> <div class="card card-table"> <div class="card-header table-head"> <h4><?php echo app('translator')->get('admin.new_customers'); ?></h4> </div> <div class="card-body pt-0"> <div class="new-customer-list"> <div class="table"> <table class="latest-list"> <thead> <tr> <th><?php echo app('translator')->get('admin.profile_pichter'); ?></th> <th><?php echo app('translator')->get('admin.customer_info'); ?></th> <th><?php echo app('translator')->get('admin.status'); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $latest_customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $latest_customer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <div class="profile"> <img src="<?php echo e(asset("uploads/" . $latest_customer->profile_picture)); ?>" alt="" > </div> </td> <td> <div class="customer-info"> <h6><?php echo e($latest_customer->fullname); ?></h6> <span><?php echo e($latest_customer->email); ?></span> </div> </td> <td> <div class="status"> <?php if($latest_customer->status == 'Active'): ?> <span class="text-success"><?php echo e($latest_customer->status); ?></span> <?php else: ?> <span class="text-danger"><?php echo e($latest_customer->status); ?></span> <?php endif; ?>
</div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody> </table> </div> </div> </div> </div> </div> <?php endif; ?>
</div> <div class="col-lg-6 col-md-12 col-12"> <?php if(isset($transactions) && $transactions): ?> <div class="transaction"> <div class="card card-table transaction-table"> <div class="card-header table-head"> <h4><?php echo app('translator')->get('admin.latest_transaction'); ?></h4> </div> <div class="card-body pt-0"> <div class="new-customer-list"> <div class="table"> <table class="latest-list"> <thead> <tr> <th><?php echo app('translator')->get('admin.customer_details'); ?></th> <th><?php echo app('translator')->get('admin.plan_name'); ?></th> <th><?php echo app('translator')->get('admin.plan_price'); ?></th> <th><?php echo app('translator')->get('admin.type'); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <div class="customer-info"> <h6><?php echo e($transaction->customer->fullname); ?></h6> <span><?php echo e($transaction->customer->email); ?></span> </div> </td> <td> <div class="plan_name"> <span> <?php echo e($transaction->plan->title); ?>
</span> </div> </td> <td> <div class="plan_price"> <span> <?php echo e($transaction->price); ?>
</span> </div> </td> <td> <div class="type"> <span> <?php echo e($transaction->recurring_type); ?>
</span> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div> <?php endif; ?> </div> </div> <!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('js/apex-chart.js')); ?>"></script> <script> "use strict"; var options = { series: [{ name: 'Customers', data: <?php echo json_encode($chart_customers, 15, 512) ?> }], chart: { height: 350, type: 'line', }, forecastDataPoints: { count: 7 }, stroke: { width: 5, curve: 'smooth' }, xaxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul','Aug','Sep','Oct','Nov','Dec'], tickAmount: 12 },
title: { text: 'Total Customers', align: 'left', style: { fontSize: "16px", color: '#666' } }, fill: { type: 'gradient', gradient: { shade: 'dark', gradientToColors: [ '#FDD835'], shadeIntensity: 1, type: 'horizontal', opacityFrom: 1, opacityTo: 1, stops: [0, 100, 100, 100] }, }, yaxis: { min: 0, max: 100 } };
var chart = new ApexCharts(document.querySelector("#customer-chart"), options); chart.render();
var options = { series: [{ name: 'Revenues', data: <?php echo json_encode($chat_amount, 15, 512) ?> }], chart: { height: 350, type: 'area' }, dataLabels: { enabled: false }, stroke: { curve: 'smooth' }, xaxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul','Aug','Sep','Oct','Nov','Dec'], tickAmount: 12 }, title: { text: 'Total Revenue', align: 'left', style: { fontSize: "16px", color: '#666' } }, tooltip: { x: { format: 'dd/MM/yy HH:mm' }, }, };
var chart = new ApexCharts(document.querySelector("#revenue-chart"), options); chart.render();
</script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/test.gateway.picotech.app/public_html/resources/views/admin/dashboard.blade.php ENDPATH**/ ?>
|