<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">
                    Sistem API WA
                </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/sistem/identitas/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>Sistem Login</label>
                    <select class="form-control" id="login_id" name="login_id" required>
                        <?php
                        foreach ($login_data as $Login_data) : ?>
                        <option value="<?= $Login_data->id ?>"><?= $Login_data->email ?> -
                            <?= $Login_data->nm_panggilan ?></option>
                        <?php endforeach;
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label>Nomor Induk Kependudukan</label>
                    <input type="text" class="form-control" id="nik" name="nik"
                        placeholder="Masukkan Nomor Induk Kependudukan" required>
                </div>
                <div class="form-group">
                    <label>Jenis Kelamin</label>
                    <select class="form-control" id="jk" name="jk" required>
                        <option value="1">Laki-laki</option>
                        <option value="2">Perempuan</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Tempat Tanggal Lahir</label>
                    <div class="form-row mb-4">
                        <div class="col">
                            <input type="text" class="form-control" id="tempat_lahir" name="tempat_lahir"
                                placeholder="Tempat Lahir" required>
                        </div>
                        <div class="col">
                            <input type="date" max='<?= date("Y-m-d", strtotime("-20 year")); ?>' class="form-control"
                                id="tgl_lahir" name="tgl_lahir" placeholder="Tanggal Lahir" required>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label>Alamat ID</label>
                    <input type="text" class="form-control" id="alamat_id" name="alamat_id"
                        placeholder="Masukkan Alamat ID ( Cek Pada Menu Database->Sistem->Alamat )" required>
                </div>
                <div class="form-group">
                    <label>Gaji Bulanan</label>
                    <input type="text" class="form-control" id="sb" name="sb" placeholder="Masukkan Gaji Bulanan"
                        required>
                </div>
                <div class="form-group">
                    <label>Gaji Bulanan / Menitan</label>
                    <input type="text" class="form-control" id="sm" name="sm" placeholder="Masukkan Gaji per Menit"
                        required>
                </div>
                <div class="form-group">
                    <label>Nama Bank</label>
                    <input type="text" class="form-control" id="nm_bank" name="nm_bank" placeholder="Masukkan Nama Bank"
                        required>
                </div>
                <div class="form-group">
                    <label>Nomor Rekening</label>
                    <input type="text" class="form-control" id="norek" name="norek"
                        placeholder="Masukkan Nomor Rekening" required>
                </div>
                <div class="form-group">
                    <label>Atas Nama Rekening</label>
                    <input type="text" class="form-control" id="atas_nama" name="atas_nama"
                        placeholder="Atas Nama Rekening" required>
                </div>
                <div class="form-group">
                    <label>Tanggal Gabung</label>
                    <input type="date" class="form-control" id="tgl_gabung" name="tgl_gabung"
                        placeholder="Masukkan Tanggal Gabung" required>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" data-dismiss="modal">
                    Close
                </button>
                <button type="submit" id="simpanDataIndentitas" name="simpanDataIndentitas"
                    class="btn btn-warning">Simpan</button>
            </div>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>