<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" disabled>
    <input type="hidden" id="id_shift_karyawan" class="form-control" value="<?= md5($data->id_shift_karyawan) ?>">

    <div class="form-group">
        <label>Nama Karyawan</label>
        <p class="font-weight-bold"><?= $data->nik." - ".$data->nama_karyawan ?></p>
    </div>
    <div class="form-group">
        <label>Tanggal</label>
        <p class="font-weight-bold"><?= date_format(date_create($data->tanggal),"d-m-Y") ?></p>
    </div>
    <div class="form-group">
        <label>Shift</label>
        <?php
            $jam_masuk  = date_format(date_create($data->jam_masuk),"H:i");
            $jam_pulang = date_format(date_create($data->jam_pulang),"H:i");
        ?>
        <p class="font-weight-bold"><?= $data->kode_shift." - ".$data->nama_shift."(".$jam_masuk." - ".$jam_pulang.")" ?></p>
    </div>
</div>
<div class="card-footer">
    <div class="row">
        <div class="col-md-7 text-left">
            <div id="message"></div>
        </div>
        <div class="col-md-5 text-right">
            <button id="btn_delete" class="btn btn-danger ladda-button" data-style="expand-left" onclick="hapus()">
                <i class="fa fa-trash"></i> HAPUS
            </button>
        </div>
    </div>
</div>