<div class="card-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
    <h3 class="title modal-title"></h3>
</div>
<div class="card-body">
    <div class="row form-detail-karyawan">
        <div class="col-md-12">
            <div class="row">
                <div class="col-md-12 text-primary">
                    <h5><?= $this->lang->line('data_diri') ?></h5>
                </div>
            </div>
            <hr>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('nomor_induk_karyawan') ?></label>
                        <p class="form-control-static"><?= $row->nik ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('nama_lengkap') ?></label>
                        <p class="form-control-static"><?= $row->nama_lengkap ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('pendidikan_terakhir') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->pendidikan_terakhir)) ? $row->pendidikan_terakhir : "-") ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('gelar_depan') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->gelar_depan)) ? $row->gelar_depan : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('gelar_belakang') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->gelar_belakang)) ? $row->gelar_belakang : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('jenis_kelamin') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->jenis_kelamin)) ? $this->fungsi->jkel($row->jenis_kelamin) : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('golongan_darah') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->golongan_darah)) ? $row->golongan_darah : "-") ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('tempat_lahir') ?></label>
                        <p class="form-control-static">
                            <?= $row->tempat_lahir ?>
                        </p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('tgl_lahir') ?></label>
                        <p class="form-control-static"><?= ((empty($row->tgl_lahir)) ? '-' : (($this->code_lang == 'id') ? $this->fungsi->tgl_indo($row->tgl_lahir) : date('d F Y', strtotime($row->tgl_lahir)))) ?></p>
                    </fieldset>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('no_telp') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->telepon)) ? $row->telepon : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('email') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->email)) ? $row->email : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('agama') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->agama)) ? $row->agama : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('no_ktp') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->no_ktp)) ? $row->no_ktp : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('no_bpjs_kes') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->no_bpjs_kes)) ? $row->no_bpjs_kes : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('no_bpjs_tk') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->no_bpjs_tk)) ? $row->no_bpjs_tk : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row mt-3">
                <div class="col-md-12 text-primary">
                    <h5><?= $this->lang->line('data_alamat_domisili') ?></h5>
                </div>
            </div>
            <hr>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('provinsi') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->nama_prov)) ? $row->nama_prov : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('kota_kabupaten') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->nama_kota)) ? $row->nama_kota : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('kecamatan') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->nama_kec)) ? $row->nama_kec : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('kelurahan') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->nama_kel)) ? $row->nama_kel : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label>RT</label>
                        <p class="form-control-static"><?= ((!empty($row->rt)) ? $row->rt : '-') ?></p>
                    </fieldset>
                </div>
                <div class="col-md-6">
                    <fieldset class="form-group">
                        <label>RW</label>
                        <p class="form-control-static"><?= ((!empty($row->rw)) ? $row->rw : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('alamat') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->alamat_domisili)) ? $row->alamat_domisili : '-') ?></p>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <fieldset class="form-group">
                        <label><?= $this->lang->line('kode_pos') ?></label>
                        <p class="form-control-static"><?= ((!empty($row->kode_pos)) ? $row->kode_pos : '-') ?></p>
                    </fieldset>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="card-footer">
    <div class="row">
        <div class="col-md-6 text-left">
            <div id="message_modal"></div>
        </div>
        <div class="col-md-6 text-right">
            <button type="button" class="btn btn-secondary" data-dismiss="modal"><i class="fa fa-close"></i> <?= $this->lang->line('button_form_tutup') ?></button>
        </div><!-- ./row -->
    </div>
