

<?php $__env->startSection('title', 'Laporan'); ?>

<?php $__env->startSection('content'); ?>
<main id="main" class="martop">

    <section class="inner-page">
      <div class="container ">
        <div class="title text-center mb-5">
            <h1 class="fw-bold">Pengaduan Saya</h1>
        </div>
        <div class="pengaduan">
            <div class="row row-cols-1 row-cols-md-3 g-4">
                <?php $__empty_1 = true; $__currentLoopData = $pengaduan; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <div class="col">
                    <div class="card h-100">
                      <img src="<?php echo e(Storage::url($i->foto)); ?>" class="card-img-top" alt="...">
                      <div class="card-body">
                        <h5 class="card-title"><b><?php echo e($i->judul_laporan); ?></b></h5>
                        <p class="card-text"><?php echo e($i->isi_laporan); ?></p>
                          <a href="<?php echo e(route('pengaduan.detail', $i->id_pengaduan)); ?>" class="btn btn-primary">Detail</a>
                      </div>
                      <div class="card-footer">
                        <small class="text-muted"><?php echo e(Carbon\Carbon::parse($i->tgl_kejadian)->format('d F Y')); ?></small>
                      </div>
                    </div>
                  </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <?php endif; ?>
              </div>
        </div>

      </div>
    </section>

  </main><!-- End #main -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\app-pengaduan-masyarakat\resources\views/pages/user/laporan.blade.php ENDPATH**/ ?>