<?php $__env->startSection('content'); ?>


<style>
.dropdown-menu a:hover{ background:#f27200;color:#fff;}
</style>


<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js" charset="utf-8"></script>
<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">Sent SMS</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-12">
                                <div class="card full-height">  
                                    
                                    <div class="card-head-row">
								<div class="card-title">
						
							 
							             <div class="card-body">  
                                    <?php echo $__env->make('fcviews.partials.filter-sentsms', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                                    <div class="text-right mb-3 border-bottom pb-1">
                                    <div class="card-title pull-left"></div>
                                  
                                        <a class="btn btn-success btn-border btn-round btn-sm" data-toggle="collapse" data-target="#filter-sentsms">
                                            <i class="fas fa-filter"></i> Filter
                                        </a>
                                    </div>
							 
								
								</div>
							
							</div>
						</div>
                                    
                                    
                                    <div class="card-body">

							<div class="chart-container" style="min-height: 5px">
						 
                                        <!-- check if exist -->
                                        <?php if(!$trans->count()): ?>
                                        <?php echo $__env->make('layouts.nodata', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                        <?php else: ?>
                                        
                                        <div class="table-responsive">
                                        <table  id="table" class="display table table-striped table-hover">
                                            <thead>
                                            <tr>
                                                <th>Desigination</th>
                                             <th>Destination</th>
                                                <th>SMS</th>
                                                <th>Source</th>
                                                <th>Status</th>
                                             <th class="text-center">SMS Cont</th>
                                                      <th>Date</th>
                                                </tr>
                                            </thead>
                                            <tfoot>
                                            <tr>
                                                <th>Destination</th>
                                                    <th>Destination</th>
                                                <th>SMS</th>
                                                <th>Source</th>
                                                <th>Status</th>
                                                <th class="text-center">SMS Cont</th>
                                                      <th>Date</th>
                                                </tr>
                                            </tfoot>
                                            <tbody>
                                            <?php $__currentLoopData = $trans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $group): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                            <td><?php echo e($group->description); ?></td>
                                                  <td><?php echo e($group->destination); ?></td>
                                            <td><?php echo e($group->sms); ?></td>
                                           <td><?php echo e($group->source); ?></td>
                                            <td><?php echo e($group->status); ?></td>
                                            <td><?php echo e($group->sms_size); ?> </td>
                                                       <td><?php echo e($group->date_time); ?> </td>
                                            </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </tbody>
                                        </table>
                                         
                                        <?php endif; ?>
                                    </div>
                                       
                                    </div>
							</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">Income(Kes):</span> 
								<h1>
								<h2>
								
								</h2>
								<h1>
								<span class="op-8">Spend(Kes):</span>
								</h1>
								<h2>
								
								 </h2>
							</div>
							<div class="pull-in">
								<canvas id="dailySalesChart"></canvas>
							</div>
						</div>
					</div>
				</div>-->
			</div>
		</div>
    	</div>
	</div>
  </div>
</div>

<script src='https://code.jquery.com/jquery-3.2.0.min.js'></script>
<script src='https://unpkg.com/popper.js@1.11.1'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js'></script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('fcviews.layouts.org', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dashmobisky/public_html/Accounts/resources/views/fcviews/sentsms/index.blade.php ENDPATH**/ ?>