<?php $__env->startSection('content'); ?>
<section class="section">
          <div class="section-header">
            <h1>Penggunaan Saldo</h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="#">Dashboard</a></div>
              <div class="breadcrumb-item"><a href="#">Developer</a></div>
              <div class="breadcrumb-item">Aktifitas</div>
				
            </div>
          </div>

          <div class="section-body">
          
          	<div class="row">
          		<div class="col-md-12">
          			<div class="card">
		              <div class="card-header">
		                <h4><span>Riwayat Penggunaan Saldo</span></h4>
		              </div>
		             
		              <div class="card-body">
		              	
						<div class="table-responsive">
							<table class="table table-striped table-md">
								<tr>
									<th>#</th>
									<th>Action</th>
									<th>Username</th>
									<th>Deskripsi</th>
									<th>Tanggal</th>
								</tr>
									<?php $__currentLoopData = $balance_histories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $history): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<tr>
										<td><?php echo e($history->id); ?></td>
										<td>
											<span class="badge badge-<?php echo e(($history->action == 'Cut Balance') ? 'danger' : 'success'); ?>">		
												<?php echo e($history->action); ?>

											</span>
										</td>
										<td><?php echo e($history->user->name); ?></td>
										<td><?php echo e($history->desc); ?></td>
										<td><?php echo e(date('d F Y H:i:s', strtotime($history->created_at))); ?></td>
									</tr>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</table>
						</div>
						<div class="float-right">
							<?php echo e($balance_histories->links()); ?>

						</div>
							                
		              </div>
		            
		            </div>
          		</div>
          	</div>
            
          </div>
        </section>




<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Berkc\OneDrive\Masaüstü\smm\zoopedia-master\resources\views\others\balance_usage.blade.php ENDPATH**/ ?>