<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 id="form_input" class="card-body">
    <input type="hidden" id="id_riwayat_pekerjaan" value="<?= ((isset($data)) ? md5($data->id_riwayat_pekerjaan) : '') ?>">
    <div class="form-group">
        <div class="row">
            <div class="col-md-12">
                <label><?= $this->lang->line('nama_perusahaan') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->nama_perusahaan : '') ?></label>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <div class="col-md-6">
                <label><?= $this->lang->line('jenis_perusahaan') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->jenis_perusahaan : '') ?></label>
            </div>

            <div class="col-md-6">
                <label><?= $this->lang->line('jabatan_terakhir') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->jabatan : '') ?></label>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <div class="col-md-12">
                <label><?= $this->lang->line('alamat_perusahaan') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->alamat_perusahaan : '') ?></label>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <div class="col-md-6">
                <label><?= $this->lang->line('provinsi') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->provinsi : '') ?></label>
            </div>

            <div class="col-md-6">
                <label><?= $this->lang->line('kota_kabupaten') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->kota : '') ?></label>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <div class="col-md-6">
                <label><?= $this->lang->line('tgl_masuk_kerja') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? date('d-m-Y', strtotime($data->tgl_masuk)) : '') ?></label>
            </div>

            <div class="col-md-6">
                <label><?= $this->lang->line('tgl_berhenti_kerja') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? date('d-m-Y', strtotime($data->tgl_keluar)) : '') ?></label>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <div class="col-md-12">
                <label><?= $this->lang->line('alasan_berhenti') ?></label><br>
                <label class="text-bold-600"><?= ((isset($data)) ? $data->alasan_berhenti : '') ?></label>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <div class="col-md-6">
                <?php
                if ($data->file == "") {
                    $file = "";
                } else {
                    $file = $this->config->item("base_image") . 'image?_t=file&_d=' . $data->file;
                }
                ?>
                <img src="<?= $file ?>" class="img-thumbnail" />
            </div>
        </div>
    </div>
</div>
<div class="card-footer">
    <div class="row">
        <div class="col-md-12 text-right">
            <button class="btn_save_pengalaman ladda-button" id="btn_save_pengalaman" data-style="expand-left"></button>
        </div>
    </div><!-- ./row -->
</div>
