<div class="row layout-spacing">
    <div class="col-lg-12">
        <blockquote class="blockquote media-object">
            <div class="media">
                <div class="media-body align-self-center">
                    <div class="btn-group mr-2 sm" style="float: right;">
                        <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Pilihan <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down">
                                <polyline points="6 9 12 15 18 9"></polyline>
                            </svg>
                        </button>
                        <div class="dropdown-menu">
                            <a href="<?= base_url('assets/laporan/arisan/motor/' . $laporan['document']) ?>" class="dropdown-item" target="_blank">Cetak Laporan</a>
                        </div>
                    </div>
                    <!-- Jikas Status Undian TIdak Sama Dengan Proses -->
                    <p class="d-inline">
                        <!-- Jika Kategori menunjukkan 21 -->
                        Kelompok Arisan Heboh Ke-<?= $data_arisan['nm_kelompok'] ?><br>
                        Undian/Lelang Ke <?= $jadwal_arisan['undian_ke'] ?>/<?= $jadwal_arisan['lelang_ke'] ?> -
                        <span class="badge badge-success"> Selesai </span><br>
                        Pemenang : <?= $laporan['regist_undian'] ?> - <?= $laporan['nm_anggota'] ?><br>
                        <?= $laporan['jenis_penarikan'] ?> <?php if ($laporan['jaminan_arisan'] != null) : ?>
                            - <a href="<?= base_url('assets/foto_jaminan/' . $laporan['foto_jaminan']) ?>" target="_blank"><?= $laporan['jaminan_arisan'] ?></a>
                        <?php endif; ?>
                    </p>
                </div>
            </div>
            <center>
                <?php if ($laporan['status_laporan'] == 'VERIFIED') : ?>
                    <span class="badge badge-success">Verifikasi Laporan Selesai</span>
                <?php else : ?>
                    <span class="badge badge-primary">Laporan Sedang Verifikasi</span>
                <?php endif; ?>
            </center>
            <small class="text-right">Undian : <cite title="Source Title"><?= $this->mycustom->hariIndo(date('l', strtotime($jadwal_arisan['tgl_undian']))) ?>,
                    <?= date('d', strtotime($jadwal_arisan['tgl_undian']))  ?>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime($jadwal_arisan['tgl_undian'])))  ?>
                    <?= date('Y', strtotime($jadwal_arisan['tgl_undian']))  ?></cite></small>
        </blockquote>
    </div>
</div>