<div class="row layout-top-spacing">
    <div class="col-lg-12">
        <blockquote class="blockquote media-object">
            <div class="media">
                <div class="media-body align-self-center">
                    <p class="d-inline">
                        Produk Arisan Kepala Keluarga
                    </p>
                </div>
            </div>
            <small class="text-left"><cite
                    title="Source Title"><?= $this->mycustom->hariIndo(date('l', strtotime(date('Y-m-d')))) ?>,
                    <?= date('d', strtotime(date('Y-m-d')))  ?>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></cite></small>
        </blockquote>
    </div>
</div>
<div class="row layout-spacing">
    <div class="col-lg-12">
        <div class="statbox widget box box-shadow">
            <div class="widget-content widget-content-area">
                <table id="style-20" class="table style-20  table-hover">
                    <thead>
                        <tr>
                            <th class="text-center">Identtias</th>
                            <th class="text-center">Kelompok Arisan</th>
                            <th class="text-center">Status</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($v_dpkepala as $vdp_kepala) : ?>
                        <tr>
                            <td>
                                Nomor Urut/Registrasi : <?= $vdp_kepala->no_urut ?> -
                                <?= $vdp_kepala->regist_undian ?><br>
                                KTP : <?= $vdp_kepala->nik ?><br>
                                Nama : <?= $vdp_kepala->nm_anggota ?> <br>
                                HP : <?= $vdp_kepala->no_hp ?><br>
                            </td>
                            <?php if ($vdp_kepala->produk_id == 21) : ?>
                            <td>
                                Kelompok Arisan Heboh ke- <?= $vdp_kepala->nm_kelompok ?><br>
                                Nomor Registrasi : <?= $vdp_kepala->regist_arisan ?><br>
                                Target : <?= $vdp_kepala->target_anggota ?> Anggota<br>
                                Iuran /Bulan : Rp <?= $vdp_kepala->tagihan_iuran ?> ,-
                                /@<?= $vdp_kepala->tempo ?> Bulan <br>
                            </td>
                            <?php else : ?>
                            <td>
                                Arisan Motor <?= $vdp_kepala->ket_arisan ?><br>
                                Kelompok : <?= $vdp_kepala->nm_kelompok ?><br>
                                Registrasi : <?= $vdp_kepala->regist_arisan ?><br>
                                Target : <?= $vdp_kepala->target_anggota ?> Anggota
                            </td>
                            <?php endif; ?>
                            <td class="text-center">
                                <?php
                                    if ($vdp_kepala->status == 'AKTIF') : ?>
                                <span class="shadow-none badge badge-primary"><?= $vdp_kepala->status ?></span>
                                <?php elseif ($vdp_kepala->status == 'MUNDUR') : ?>
                                <span class="shadow-none badge badge-danger"><?= $vdp_kepala->status ?></span>
                                <?php else : ?>
                                <span class="shadow-none badge badge-success"><?= $vdp_kepala->status ?></span>
                                <?php endif; ?>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>