<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>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>Jenis Perusahaan</label><br>
                <label class="text-bold-600"><?= ((isset($data))?$data->jenis_perusahaan:'') ?></label>
            </div>

            <div class="col-md-6">
                <label>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>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>Provinsi</label><br>
                <label class="text-bold-600"><?= ((isset($data))?$data->provinsi:'') ?></label>
            </div>

            <div class="col-md-6">
                <label>Kota</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>Tanggal 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>Tanggal 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>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").'imagebiodata?_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>