<!-- Tambah Anggota Lelang -->
<div class="modal fade" id="anggota_arisan" tabindex="-1" role="dialog" aria-labelledby="anggota_arisanTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-scrollable modal-lg modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="anggota_arisanTitle">
                    Anggota Arisan Motor!
                </h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <?php echo form_open_multipart('kasir/arisan/kelompok_heboh/crud'); ?>
                <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>" style="display: none">
                <table id="style-11" class="table style-11  table-hover">
                    <thead>
                        <tr>
                            <th class="text-center">Identitas</th>
                            <th class="text-center">Alamat</th>
                            <th class="text-center">Arisan</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($anggota_arisan as $Anggota_arisan) : ?>
                            <tr>
                                <td class="text-left">
                                    NIK : <?= $Anggota_arisan->nik ?><br>
                                    Nama : <?= $Anggota_arisan->nm_anggota ?><br>
                                    No. HP : <?= $Anggota_arisan->no_hp ?>
                                </td>
                                <td class="text-left">
                                    <?= $Anggota_arisan->alamat_lengkap ?><br>
                                    RT. <?= $Anggota_arisan->nm_rt ?> RW. <?= $Anggota_arisan->nm_rw ?><br>
                                    Dk. <?= $Anggota_arisan->nm_desa ?>, Kec.
                                    <?= $Anggota_arisan->nm_kecamatan ?><br>
                                    <?= $Anggota_arisan->kot_kab ?> - <?= $Anggota_arisan->prov ?>
                                </td>
                                <td class="text-left">
                                    <?php foreach ($detail_produk as $Detail_produk) :
                                        if ($Detail_produk->anggota_id == $Anggota_arisan->anggota_id) : ?>
                                            Regist Undian : <?= $Detail_produk->regist_undian ?><br>
                                    <?php endif;
                                    endforeach; ?>
                                </td>
                            </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>