<div id="content" class="main-content">
    <div class="container">
        <div class="container">
            <div class="row layout-top-spacing">
                <?= $this->session->flashdata('pesan_berhasil'); ?>
                <?= $this->session->flashdata('pesan_gagal'); ?>
                <div class="col-lg-12 col-12 layout-spacing">
                    <div class="statbox widget box box-shadow">
                        <div class="widget-header">
                            <div class="row">
                                <div class="col-xl-12 col-md-12 col-sm-12 col-12">
                                    <h2><?= $login['nm_panggilan'] ?><br> <?php if ($login['role_id'] == '1') : ?>
                                        <span
                                            class="shadow-none badge badge-success"><?= $role_level['role_level'] ?></span>
                                        <?php elseif ($login['role_id'] == '2') : ?>
                                        <span
                                            class="shadow-none badge badge-primary"><?= $role_level['role_level'] ?></span>
                                        <?php elseif ($login['role_id'] == '3') : ?>
                                        <span
                                            class="shadow-none badge badge-warning"><?= $role_level['role_level'] ?></span>
                                        <?php elseif ($login['role_id'] == '4') : ?>
                                        <span
                                            class="shadow-none badge badge-secondary"><?= $role_level['role_level'] ?></span>
                                        <?php elseif ($login['role_id'] == '5') : ?>
                                        <span
                                            class="shadow-none badge badge-warning"><?= $role_level['role_level'] ?></span>
                                        <?php elseif ($login['role_id'] == '6') : ?>
                                        <span
                                            class="shadow-none badge badge-danger"><?= $role_level['role_level'] ?></span>
                                        <?php elseif ($login['role_id'] == '7') : ?>
                                        <span
                                            class="shadow-none badge badge-danger"><?= $role_level['role_level'] ?></span>
                                        <?php else : ?>
                                        <span
                                            class="shadow-none badge badge-danger"><?= $role_level['role_level'] ?></span>
                                        <?php endif; ?>
                                    </h2>
                                    <small class="text-left"><cite
                                            title="Source Title"><?= $this->mycustom->hariIndo(date('l', strtotime(date('Y-m-d')))) ?>,
                                            <?= date('d', strtotime(date('Y-m-d')))  ?>
                                            <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                                            <?= date('Y', strtotime(date('Y-m-d')))  ?></cite></small>
                                </div>
                            </div>
                        </div>
                        <div class="widget-content widget-content-area simple-pills">
                            <?php $this->load->view('keuangan/identitas/karyawan/t_atasan'); ?>
                            <div class="tab-content" id="pills-tabContent">
                                <?php $this->load->view('keuangan/identitas/karyawan/vd_identitas'); ?>
                                <?php $this->load->view('keuangan/identitas/karyawan/vd_kpi'); ?>
                                <?php $this->load->view('keuangan/identitas/karyawan/vd_slip_gaji'); ?>
                                <?php $this->load->view('keuangan/identitas/karyawan/vd_reviews'); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $this->load->view('keuangan/identitas/karyawan/m_gaji'); ?>