<div class="modal fade" id="tambahWA" tabindex="-1" role="dialog" aria-labelledby="tambahWATitle" 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="tambahWATitle">
                    Cari Kontrak
                </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('owner/database/koperasi/kontrak/crud'); ?>
                <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>"
                    value="<?= $this->security->get_csrf_hash(); ?>" style="display: none">
                <div class="form-group">
                    <label>Pilih Jenis Masukkan</label>
                    <select class="form-control" id="status_kontrak" name="status_kontrak" required>
                        <option value="1">ID Anggota</option>
                        <option value="2">ID Kontrak</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Masukkan ID Anggota / Kontrak Pinjaman</label>
                    <input type="number" class="form-control" id="anggota_id" name="anggota_id"
                        placeholder="Masukkan ID Anggota / Kontrak Pinjaman">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="cari_nota" name="cari_nota" class="btn btn-primary">Cari</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>