<div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
    <div class="widget widget-activity-four">
        <div class="widget-heading">
            <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 dropdown-menu-right" aria-labelledby="pendingTask" style="will-change: transform;">
                    <a class="dropdown-item" href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#daftarHeboh">Daftar</a>
                    <a class="dropdown-item" href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#bayarTagihanHeboh">Bayar</a>
                    <a class="dropdown-item" href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#anggotaArisanHeboh">Anggota</a>
                    <a class="dropdown-item" href="<?= base_url('arisan/aktifitas/aktifitas_heboh') ?>">Aktifitas</a>
                    <a class="dropdown-item" href="<?= base_url('arisan/laporan/laporan_heboh') ?>">Laporan</a>
                </div>
            </div>
            <h5 class="">Ringkasan Arisan Heboh</h5>
        </div>
        <div class="widget-content">
            <div class="mt-container mx-auto">
                <div class="timeline-line">
                    <?php foreach ($laporan_kelompok as $Kelompok) : ?>
                        <div class="item-timeline timeline-primary">
                            <div class="t-dot" data-original-title="" title="">
                            </div>
                            <div class="t-text">
                                <p><span><?= $Kelompok->kd_laporan ?></span><br>
                                    <span>Arisan Kelompok <?= $Kelompok->nm_kelompok ?> -
                                        <?= $Kelompok->regist_arisan ?> <br>
                                        Undian Ke <?= $Kelompok->undian_ke ?> -
                                        <?= $this->mycustom->hariIndo(date('l', strtotime($Kelompok->tgl_undian))) . ', ' . date('d', strtotime($Kelompok->tgl_undian)) . ' ' . $this->mycustom->bulanIndo(date('m', strtotime($Kelompok->tgl_undian))) . ' ' .  date('Y', strtotime($Kelompok->tgl_undian))  ?><br>
                                        Pemenang : <?= $Kelompok->nm_anggota ?> -
                                        <?= $Kelompok->regist_undian ?><br>
                                </p>
                                <span class="badge">
                                    <?= $Kelompok->status_laporan ?>
                                </span>
                                <p class="t-time">
                                    <?= date('d', strtotime($Kelompok->tgl_undian)) . ' ' . $this->mycustom->bulanIndo(date('m', strtotime($Kelompok->tgl_undian))) . ' ' .  date('Y', strtotime($Kelompok->tgl_undian)) ?>
                                </p>
                            </div>
                        </div>
                    <?php endforeach; ?>
                </div>
            </div>
        </div>
    </div>
</div>