<div class="card-header">
    <button type="button"  onclick="cancel_publish_unpublish()" class="close" 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" class="form-control">
    <input type="hidden" id="publish" class="form-control">

    <div class="row form-group">
        <div class="col-md-5">NIK<span class="pull-right">:</span></div>
        <div class="col-md-7"><?= $data->nik ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">NAMA KARYAWAN<span class="pull-right">:</span></div>
        <div class="col-md-7"><?= $data->nm_karyawan ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">CABANG<span class="pull-right">:</span></div>
        <div class="col-md-7"><?= $data->kd_cabang." - ".$data->nm_cabang ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">DEPARTEMEN<span class="pull-right">:</span></div>
        <div class="col-md-7"><?= $data->kd_departemen." - ".$data->nm_departemen ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">JABATAN<span class="pull-right">:</span></div>
        <div class="col-md-6"><?= $data->kode_jabatan." - ".$data->nm_jabatan ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">LEVEL JABATAN<span class="pull-right">:</span></div>
        <div class="col-md-6"><?= $data->lvl_jabatan?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">GAJI POKOK<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->gapok,0,",",".") ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">GAJI KOTOR<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->gaji_kotor,0,",",".") ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">GAJI DITERIMA<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->gaji_diterima,0,",",".") ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">GAJI + BPJS<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->ttl_gaji_bpjs,0,",",".") ?></div>
    </div>
</div>
<div class="card-footer">
    <div class="row">
        <div class="col-md-12 text-right">
            <label id="message" class="pull-left"></label>
            <button onclick="cancel_publish_unpublish()" class="btn btn-secondary mr-md-1">BATAL</button>
            <button class="btn_publish" data-style="expand-left"></button>
        </div>
    </div><!-- ./row -->
</div>