<div class="tab-pane fade" id="produk_ksp_aktif" role="tabpanel" aria-labelledby="ksp_produk_aktif">
    <table id="style-10" class="table style-10  table-hover">
        <h4>Pinjaman Koperasi Aktif</h4>
        <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 ($a_arisanheboh as $Arisanheboh_aktif) : ?>
            <tr>
                <td>
                    <center><?= $no ?></center>
                </td>
                <td class="text-left">
                    Arisan Heboh Kelompok <?= $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-center">
                    <?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>