

<div class="page-header">
	<h3 class="page-title">
		<span class="page-title-icon bg-gradient-danger text-black mr-2">
			<i class="mdi mdi-home icon"></i>
		</span>
		Flexiload Earn Reports
	</h3>
	
</div>
<div class="row">
	<div class="col-md-4 stretch-card grid-margin">
		<div class="card bg-gradient-warning card-img-holder shadow text-black">
			<div class="card-body">
				<img src="<?= base_url() ?>app-assets/images/dashboard/circle.svg" class="card-img-absolute" alt="circle-image" />
				<h4 class="font-weight-normal mb-3">Today Earn by Flexiload
					<i class="mdi mdi-calendar-clock mdi-48px float-right"></i>
				</h4>
				<h2 class="mb-5">৳ <?= $today->total_earn==null ? "0" : $today->total_earn ?></h2>
				<h6 class="card-text">Total Package Buy <?= $today->total_package?></h6>
			</div>
		</div>
	</div>
	<div class="col-md-4 stretch-card grid-margin">
		<div class="card bg-gradient-warning card-img-holder shadow text-black">
			<div class="card-body">
				<img src="<?= base_url() ?>app-assets/images/dashboard/circle.svg" class="card-img-absolute" alt="circle-image" />
				<h4 class="font-weight-normal mb-3">Last 7 day Earn by Flexiload
					<i class="mdi mdi-calendar mdi-48px float-right"></i>
				</h4>
				<h2 class="mb-5">৳ <?= $last_seven_day->total_earn==null ? "0" : $last_seven_day->total_earn ?></h2>
				<h6 class="card-text">Total Package Buy <?=$last_seven_day->total_package?></h6>
			</div>
		</div>
	</div>
	<div class="col-md-4 stretch-card grid-margin">
		<div class="card bg-gradient-warning card-img-holder shadow text-black">
			<div class="card-body">
				<img src="<?= base_url() ?>app-assets/images/dashboard/circle.svg" class="card-img-absolute" alt="circle-image" />
				<h4 class="font-weight-normal mb-3">Last 30 day Earn by Flexiload
					<i class="mdi mdi-calendar-multiple-check mdi-48px float-right"></i>
				</h4>
				<h2 class="mb-5">৳ <?= $last_thirtdy_day->total_earn==null ? "0" : $last_thirtdy_day->total_earn ?></h2>
				<h6 class="card-text">Total Package Buy <?=$last_thirtdy_day->total_package?></h6>
			</div>
		</div>
	</div>
</div>

<div class="row">
<div class="col-12 stretch-card grid-margin">
		<div class="card bg-gradient-warning card-img-holder shadow text-black">
			<div class="card-body">
				<img src="<?= base_url() ?>app-assets/images/dashboard/circle.svg" class="card-img-absolute" alt="circle-image" />
				<h4 class="font-weight-normal mb-3">Total Earn by Flexiload
					<i class="mdi mdi-counter mdi-48px float-right"></i>
				</h4>
				<h2 class="mb-5">৳ <?= $total->total_earn==null ? "0" : $total->total_earn ?></h2>
				<h6 class="card-text">Total Package Buy <?=$total->total_package?></h6>
			</div>
		</div>
	</div>
</div>
