<div class="row">
    <div class="col-lg-12">
        <blockquote class="blockquote media-object">
            <div class="media">
                <div class="media-body align-self-center">
                    <!-- Jikas Status Undian TIdak Sama Dengan Proses -->
                    <?php if ($jadwal_arisan['status_undian'] != 'PROSES') : ?>
                        <!-- Jika Iya tidak sama -->
                        <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">
                                <?php if ($data_arisan['produk_id'] == 21) : ?>
                                    <a href="<?= base_url('arisan/aktifitas/notifikasi/tagihan/heboh/' . $this->encrypt->encode($data_arisan['id'] . $jadwal_arisan['id'])) ?>" class="dropdown-item">Notifikasi</a>
                                <?php else : ?>
                                    <a href="<?= base_url('arisan/aktifitas/notifikasi/tagihan/motor/' . $this->encrypt->encode($data_arisan['id'] . $jadwal_arisan['id'])) ?>" class="dropdown-item">Notifikasi</a>
                                <?php endif; ?>
                                <!-- <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#bayarTagihan">Bayar Individu</a>
                                <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#bayarTagihanKeluarga">Bayar Keluarga</a> -->
                                <?php if ($undian_mulai == 1) : ?>
                                    <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#undian_detail">Mulai
                                        Undian</a>
                                <?php endif; ?>
                            </div>
                        </div>
                    <?php endif; ?>

                    <p class="d-inline">
                        <!-- Jika Kategori menunjukkan 21 -->
                        <?php if ($data_arisan['produk_id'] == 21) : ?>
                            Kelompok Arisan Heboh Ke-<?= $data_arisan['nm_kelompok'] ?><br>
                            Undian Ke <?= $jadwal_arisan['undian_ke'] ?> -
                        <?php else : ?>
                            Kelompok Arisan <?= $data_arisan['ket_arisan'] ?> Ke-
                            <?= $data_arisan['nm_kelompok'] ?><br>
                            Undian/Lelang Ke
                            <?= $jadwal_arisan['undian_ke'] ?>/<?= $jadwal_arisan['lelang_ke'] ?><br>
                        <?php endif; ?>
                        <?php if ($jadwal_arisan['status_undian'] == 'BELUM') : ?>
                            <span class="badge badge-dark"> Belum Mulai </span>
                        <?php elseif ($jadwal_arisan['status_undian'] == 'PROSES') : ?>
                            <span class="badge badge-primary"> Proses Undian </span>
                        <?php else : ?>
                            <span class="badge badge-success"> Selesai </span>
                        <?php endif; ?>
                    </p>
                </div>
            </div>
            <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>