<?php $__env->startSection('content'); ?>
<div id="vue-admin-user">
<div class="main-panel">
    <div class="content">
            <div class="panel-header">
                <div class="page-inner py-5 text-white"  style="background:#313232">
                    <div class="d-flex align-items-left align-items-md-center flex-column flex-md-row">
                        <div><div class="page-header">
                            <h4 class="page-title text-white">Dashboard</h4>
                            <ul class="breadcrumbs">
                                    <li class="nav-home">
                                        <a class="text-white" href="#">
                                            <i class="flaticon-home"></i>
                                        </a>
                                    </li>
                                </ul>
                        </div>
                        </div>
                        
                    </div>
                </div>
            <div class="page-category">
                <div class="page-inner mt--5">
                <div class="row mt--2">
				<div class="col-md-6">
					<div class="card full-height">
						<div class="card-body">
							<div class="card-title">Overall statistics
						
							</div>
							<div class="card-category">Total numbers in hundreds</div>
							<div class="d-flex flex-wrap justify-content-around pb-2 pt-4">
								<div class="px-2 pb-2 pb-md-0 text-center">
								<input type="text" class="knob" value="<?php echo e($users/100); ?>" data-skin="tron" data-thickness="0.2" data-width="90" data-height="90" data-fgColor="#ff9e27" data-readonly="true">
									<h6 class="fw-bold mt-3 mb-0">User</h6>
								</div>
								<div class="px-2 pb-2 pb-md-0 text-center">
								<input type="text" class="knob" value="<?php echo e($myclients/100); ?>" data-skin="tron" data-thickness="0.2" data-width="90" data-height="90" data-fgColor="#2bb930" data-readonly="true">
									<h6 class="fw-bold mt-3 mb-0">Contacts</h6>
								</div>
								<div class="px-2 pb-2 pb-md-0 text-center">
								<input type="text" class="knob" value="<?php echo e($mybatches/100); ?>" data-skin="tron" data-thickness="0.2" data-width="90" data-height="90" data-fgColor="#f25961" data-readonly="true">
									<h6 class="fw-bold mt-3 mb-0">Batches</h6>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="card full-height">
						<div class="card-body">
							<div class="card-title">Total income & spend statistics</div>
							<div class="row py-3">
								<div class="col-md-4 d-flex flex-column justify-content-around">
									<div>
										<h6 class="fw-bold text-uppercase text-success op-8">Total Deposits</h6>
										<h3 class="fw-bold">KES. <?php echo e($income); ?></h3>
									</div>
									<div>
										<h6 class="fw-bold text-uppercase text-danger op-8">Total Send</h6>
										<h3 class="fw-bold">KES. <?php echo e($expenditure); ?></h3>
									</div>
								</div>
								<div class="col-md-8">
									<?php echo $chart->container(); ?>

								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-8">
					<div class="card">
						<div class="card-header">
							<div class="card-head-row">
								<div class="card-title">User Statistics</div>
								<div class="card-tools">
									<a href="#" class="btn btn-info btn-border btn-round btn-sm mr-2">
										<span class="btn-label">
											<i class="fa fa-pencil"></i>
										</span>
										Export
									</a>
									<a href="#" class="btn btn-info btn-border btn-round btn-sm">
										<span class="btn-label">
											<i class="fa fa-print"></i>
										</span>
										Print
									</a>
								</div>
							</div>
						</div>
						<div class="card-body">
							
							<div>
							<custstats_component/>
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-4">
					<div class="card card-primary">
						<div class="card-header">
							<div class="card-title">Daily Sales</div>
							<div class="card-category"><?php echo e(date('M - d')); ?></div>
						</div>
						<div class="card-body pb-0">
							<div class="mb-4 mt-2">
								<h1>
								<span class="op-8">Deposits(Kes):</span> 
								<h1>
								<h2>
									<?php echo e($today_income); ?>

								</h2>
								<h1>
								<span class="op-8">Send(Kes):</span>
								</h1>
								<h2>
									<?php echo e($today_expenditure); ?>

								 </h2>
							</div>
							<div class="pull-in">
								<canvas id="dailySalesChart"></canvas>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
            </div>
        </div>
    </div>
</div>
    <?php $__env->stopSection(); ?>
<?php echo $__env->make('bmviews.layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\Accounts\resources\views/bmviews/customer-dashboard.blade.php ENDPATH**/ ?>