<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->nama_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->kode_cabang." - ".$data->nama_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->kode_departemen." - ".$data->nama_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->nama_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->gaji_pokok,2,",",".") ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">TOTAL TUNJANGAN<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->ttl_tunjangan,2,",",".") ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">TOTAL PENERIMAAN<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->ttl_penerimaan,2,",",".") ?></div>
    </div>
    <div class="row form-group">
        <div class="col-md-5">TOTAL POTONGAN<span class="pull-right">:</span></div>
        <div class="col-md-7 text-right"><span class="pull-left">Rp</span><?= number_format($data->ttl_potongan,2,",",".") ?></div>
    </div>
    <div class="row form-group font-weight-bold">
        <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,2,",",".") ?></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>