<?php
if(Auth::user()->user_type == 'organization')
{
    $layout = 'bundleviews.layouts.customer';
}
elseif(Auth::user()->user_type == 'organization_user')
{
    $layout = 'bundleviews.layouts.user';
}
?>

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

<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">Activity Logs</h4>
                            <ul class="breadcrumbs">
                                    <li class="nav-home">
                                        <a class="text-white" href="">
                                            <i class="flaticon-home"></i>
                                        </a>
                                    </li>
                                    <li class="separator">
                                        <i class="flaticon-right-arrow"></i>
                                    </li>
                                    <li class="nav-item">
                                        <a class="text-white" href="">Activity Logs</a>
                                    </li>
                                </ul>
                        </div></div>
                        <div class="ml-md-auto py-2 py-md-0">
                            <a href="" class="btn btn-white btn-border btn-round mr-2"><i class="fas fa-arrow-circle-left"></i> Back</a>
                            <!--<a href="#" data-target="#add" data-toggle="modal" id="show-modal" class="btn btn-white btn-round"><i class="fa fa-plus"></i> Add Group</a>-->
                        </div>
                    </div>
                </div>
            <div id="app">
            <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('bundleviews.partials.filter-topups', \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-panel">
                                            <i class="fas fa-filter"></i> Filter
                                        </a>
                                    </div>
							 
								
								</div>
                           
							</div>
						</div>
                                    
                                    
                                    <div class="card-body">
                                        <div class="card-title">Activity Logs Details</div>
                                        <!-- check if exist -->
                                        <?php if(!$activitylogs->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>ID#</th>
                                                <th>Audit Module</th>
                                                <th>User</th>
                                                <th>Activity</th>
                                                <th>Current Messages</th>
                                                <th>Previous Messages</th>
                                                <th>Date</th>
                                                </tr>
                                            </thead>
                                            <tfoot>
                                            <tr>
                                                <th>ID#</th>
                                                <th>Audit Module</th>
                                                <th>User</th>
                                                <th>Activity</th>
                                                <th>Current Messages</th>
                                                <th>Previous Messages</th>
                                                <th>Date</th>
                                                </tr>
                                            </tfoot>
                                            <tbody>
                                            <?php $__currentLoopData = $activitylogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $databundlestransactions): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                            <td><?php echo e(++$key); ?></td>
            
                                         
                                            <td><?php echo e($databundlestransactions->audit_module); ?></td>
                                            <td><?php echo e($databundlestransactions->LogsUsers); ?></td>
                                            <td><?php echo e($databundlestransactions->activity_log); ?></td>
                                            <td><?php echo e($databundlestransactions->current_messages); ?></td>
                                            <td><?php echo e($databundlestransactions->previous_messages); ?></td>
                                            <td><?php echo e($databundlestransactions->created_at); ?></td>
                                            </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </tbody>
                                        </table>
                                         
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                        </div>
            </div>
            </div>
            </div>
        </div>
    </div>
    <?php $__env->stopSection(); ?>
<?php echo $__env->make($layout, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\ssssssssssssssssss\htdocs\Accounts\resources\views/bundleviews/activitylogs/imeiindex.blade.php ENDPATH**/ ?>