<?php $__env->startSection('container'); ?>
    <!-- dashboard inner -->
    <div class="midde_cont">
        <div class="container-fluid">
           <div class="row column_title">
              <div class="col-md-12">
                 <div class="page_title">
                    <h2>Raport Kinerja Desa</h2>
                 </div>
              </div>
           </div>
        </div>
        
     </div>
     <!-- end dashboard inner -->

        <!-- Tabel -->
      <div id="overviews" class="section wb">

        <a href="#" class="btn btn-primary mb-3">LAPORAN</a>
          <table class="table table-striped table-hover text-dark">
              <caption>Daftar Desa</caption>
              <thead>
                <tr>
                  <th scope="col">No</th>
                  <th scope="col">Kode Desa</th>
                  <th scope="col">Nilai</th> 
                  <th scope="col">Action</th> 
                </tr>
              </thead>
              <tbody>  
                <?php $__currentLoopData = $konsultasis; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $konsultasi): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr class="text-dark">
                  <th scope="row"><?php echo e($loop->iteration); ?></th>
                  <td><?php echo e($konsultasi->kd_desa); ?></td>
                  <td><?php echo e($konsultasi->total); ?></td>
                  <td><a href="/admin/laporan/<?php echo e($konsultasi->id); ?>/edit">Detail<i class="fa fa-edit btn btn-warning"></i></a></td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </tbody>
            </table>      

      </div>
<!-- end section -->

     <script>
      const title = document.querySelector("#judul");
      const slug = document.querySelector("#slug");

      title.addEventListener("keyup", function() {
          let preslug = judul.value;
          preslug = preslug.replace(/ /g,"-");
          slug.value = preslug.toLowerCase();
      });
     </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/fauzihasan/Documents/PROJECT-LARAVEL/digali/resources/views/admin/laporan/index.blade.php ENDPATH**/ ?>