<!-- Tambah Anggota Lelang -->
<div class="modal fade" id="lelang_detail" tabindex="-1" role="dialog" aria-labelledby="lelang_detailTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="lelang_detailTitle">
                    Tambah Lelang 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('arisan/aktifitas/lelang/crud'); ?>
                <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>" style="display: none">
                <center>
                    <p class="modal-text">Silahkan Pilih Anggota Arisan Motor</p>
                    <div class="form-group">
                        <select class="form-control" id="regist_undian" name="regist_undian" required>
                            <?php foreach ($anggota_bayar as $Anggota_bayar) : ?>
                                <option value="<?= $Anggota_bayar->regist_undian ?>"><?= $Anggota_bayar->regist_undian ?> -
                                    <?= $Anggota_bayar->nm_anggota ?></option>
                            <?php endforeach; ?>
                        </select>
                    </div>
                </center>

                <div class="form-group">
                    <label>Masukkan Jumlah Lelang</label>
                    <input type="text" class="form-control" id="total_lelang" name="total_lelang" placeholder="Masukkan Jumlah Lelang" required>
                </div>
                <input type="number" hidden class="form-control" value="<?= $jadwal_arisan['id'] ?>" id="jadwal_id" name="jadwal_id" placeholder="Nama Kelompok Arisan" required>
                <input type="number" hidden class="form-control" value="<?= $jadwal_arisan['regist_arisan'] ?>" id="regist_arisan" name="regist_arisan" placeholder="Nama Kelompok Arisan" required>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanAnggotaLelang" name="simpanAnggotaLelang" class="btn btn-primary">Tambah</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>