<?php $__env->startSection('page_title'); ?>
	 Logs
<?php $__env->stopSection(); ?>





<?php $__env->startSection('page_body'); ?>
<?php echo e(Breadcrumbs::render('logs')); ?>

<div class="row row-cards row-deck">
              <div class="col-12">
                <div class="card">
                	  <div class="card-header">

					 
                <div class = "col-md-2">
					     <h3 class="card-title">Logs Detail&nbsp;&nbsp;&nbsp;</h3>
             </div>
             <div class = "col-md-4">
					     <select class="logs_date form-control form-control-sm" onchange="getLogsByDate(event,this,'logs_type')" >
					     	<?php $__currentLoopData = $file_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					     	<option <?php if($loop->last): ?> selected="true" <?php endif; ?> value="<?php echo e(str_replace('.json','',$rows->getFileName())); ?>"><?php echo e(str_replace('.json','',$rows->getFileName())); ?></option>

					     	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					     </select>
             </div>
                 <div class = "col-md-4">
               <select class="logs_date form-control form-control-sm logs_type" onchange="getLogsByDate(event,'logs_date',this)" >
                  <?php $__currentLoopData = EF::getLogType(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option <?php if($loop->last): ?> selected="true" <?php endif; ?>  value="<?php echo e($rows); ?>"><?php echo e(ucwords($rows)); ?> Logs</option>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
               </select>
             </div>
           
					  </div>

                	<div class="card-status card-status-left bg-blue"></div>
                  <div class="table-responsive table-height">
                    <table class="table table-hover table-outline table-vcenter text-nowrap card-table cls_datatable">
                      <thead>
                        <tr>
                          
                          <th>#</th>
                          <th>User</th>
                          <th>Branch</th>
                          <th>Date</th>
                          <th>Time</th>

                          <th>Logs Detail</th>
                        </tr>
                      </thead>
                      <tbody id="td_logs_list">
                      	<?php if(isset($logs_list)): ?>
                          
                      		<?php $__currentLoopData = $logs_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                      			<tr>
                      				<td><?php echo e((int)($loop->iteration)); ?></td>

                      				<td><?php echo e($rows->name); ?></td>

                      				<td><?php echo e($rows->branch); ?></td>

                      				<td><?php echo e(EF::dateFormat($rows->log_date)); ?> </td>
                              <td><?php echo e($rows->log_time); ?></td>

                      				<td><?php echo e($rows->message); ?></td>

                      				

                      			</tr>


                      		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      	<?php endif; ?>	
                        
                      </tbody>
                    </table>
                  </div>
                </div>
              </div>
          </div>
<?php $__env->stopSection(); ?>



<?php $__env->startSection('page_script'); ?>
<?php echo $__env->make('scripts.logs', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

  
<?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/estatech_logs.blade.php ENDPATH**/ ?>