<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="#daftarMotor">Daftar</a>
                    <a class="dropdown-item" href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#bayarTagihanMotor">Bayar</a>
                    <a class="dropdown-item" href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#anggotaArisanMotor">Anggota</a>
                    <a class="dropdown-item" href="<?= base_url('arisan/aktifitas/aktifitas_motor') ?>">Aktifitas</a>
                    <a class="dropdown-item" href="<?= base_url('arisan/laporan/laporan_motor') ?>">Laporan</a>
                </div>
            </div>
            <h5 class="">Ringkasan Arisan Motor</h5>
        </div>
        <div class="widget-content">
            <div class="mt-container mx-auto">
                <div class="timeline-line">
                    <?php foreach ($laporan_lelang as $Lelang) : ?>
                        <div class="item-timeline timeline-primary">
                            <div class="t-dot" data-original-title="" title="">
                            </div>
                            <div class="t-text">
                                <a href="<?= base_url('arisan/laporan/laporan_motor/lap_detail/' . $this->encrypt->encode($Lelang->kd_laporan)) ?>">
                                    <p><span><?= $Lelang->kd_laporan ?></span><br>
                                        <span>Arisan <?= $Lelang->ket_arisan ?> Ke <?= $Lelang->nm_kelompok ?> -
                                            <?= $Lelang->regist_arisan ?> <br>
                                            Arisan Ke <?= $Lelang->undian_ke ?> / Lelang Ke <?= $Lelang->lelang_ke ?><br>
                                            Pemenang : <?= $Lelang->nm_anggota ?> -
                                            <?= $Lelang->regist_undian ?>
                                    </p>
                                </a>
                                <span class="badge">
                                    <?= $Lelang->status_laporan ?>
                                </span>
                                <p class="t-time">
                                    <?= date('d', strtotime($Lelang->tgl_undian)) . ' ' . $this->mycustom->bulanIndo(date('m', strtotime($Lelang->tgl_undian))) . ' ' .  date('Y', strtotime($Lelang->tgl_undian)) ?>
                                </p>
                            </div>
                        </div>
                    <?php endforeach; ?>
                </div>
            </div>
        </div>
    </div>
</div>