<div class="tab-pane fade" id="keluarga_anggota" role="tabpanel" aria-labelledby="anggota_keluarga">
    <table id="style-21" class="table style-21  table-hover">
        <thead>
            <tr>
                <th class="text-center">No</th>
                <th class="text-center">Kelompok</th>
                <th class="text-center">Register</th>
                <th class="text-center">Status</th>
                <th class="text-center">Rekomendasi</th>
            </tr>
        </thead>
        <tbody>
            <?php $no = 1; ?>
            <?php foreach ($p_arisanmotor as $Arisanheboh_aktif) : ?>
            <tr>
                <td>
                    <center><?= $no ?></center>
                </td>
                <td class="text-left">
                    Arisan Motor <?= $Arisanheboh_aktif->ket_arisan ?> Ke - <?= $Arisanheboh_aktif->nm_kelompok ?><br>
                    No Regist : <?= $Arisanheboh_aktif->arisan_id ?> <br>
                    Tagihan : Rp <?= $Arisanheboh_aktif->tagihan_iuran ?>,-
                </td>
                <td class="text-left">
                    No Undian : <?= $Arisanheboh_aktif->no_arisan ?> <br>
                    No Resgit : <?= $Arisanheboh_aktif->no_regist ?>
                </td>
                <td class="text-left">
                    <?php
                        if ($Arisanheboh_aktif->status_arisan == 'PROSES') : ?>
                    <span class="shadow-none badge badge-primary"><?= $Arisanheboh_aktif->status_arisan ?></span>
                    <?php elseif ($Arisanheboh_aktif->status_arisan == 'AKTIF') : ?>
                    <span class="shadow-none badge badge-success"><?= $Arisanheboh_aktif->status_arisan ?></span>
                    <?php elseif ($Arisanheboh_aktif->status_arisan == 'SELESAI') : ?>
                    <span class="shadow-none badge badge-secondary"><?= $Arisanheboh_aktif->status_arisan ?></span>
                    <?php else : ?>
                    <span class="shadow-none badge badge-danger"><?= $Arisanheboh_aktif->status_arisan ?></span>
                    <?php endif;
                        ?>
                </td>
                <td class="text-left">
                    <?= $Arisanheboh_aktif->nm_panggilan ?>
                </td>
            </tr>
            <?php $no++; ?>
            <?php endforeach; ?>
        </tbody>
    </table>
</div>