penambahan score di header
penambahan score di header
This commit is contained in:
@@ -130,6 +130,10 @@
|
||||
<th>Status</th>
|
||||
<td><span id="d_status"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Score</th>
|
||||
<td><span id="d_score"></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -139,26 +143,32 @@
|
||||
<tr>
|
||||
<th width="100"><span class="badge bg-success">Hadir</span></th>
|
||||
<td id="d_present_count"></td>
|
||||
<th width="180">Hari</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="badge bg-info">Sakit</span></th>
|
||||
<td id="d_sick_count"></td>
|
||||
<th width="180">Hari</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="badge bg-primary">Izin</span></th>
|
||||
<td id="d_total_permit"></td>
|
||||
<th width="180">Hari</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="badge bg-danger">Alpha</span></th>
|
||||
<td id="d_absent_count"></td>
|
||||
<th width="180">Hari</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="badge bg-warning">Terlambat</span></th>
|
||||
<td id="d_late_count"></td>
|
||||
<th width="180">Menit</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="badge badge-custom">Total Early Leave Minutes</span></th>
|
||||
<td id="d_total_early_leave_minutes"></td>
|
||||
<th width="180">Menit</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -272,7 +282,7 @@
|
||||
$('#d_total_late_minutes').text(res.header.total_late_minutes);
|
||||
$('#d_total_early_leave_minutes').text(res.header.total_early_leave_minutes);
|
||||
|
||||
|
||||
$('#d_score').text(res.header.score);
|
||||
$('#d_leave_count').text(res.header.total_leave);
|
||||
$('#d_absent_count').text(res.header.total_alpha);
|
||||
$('#d_late_count').text(res.header.total_late);
|
||||
@@ -360,6 +370,12 @@
|
||||
badge = '<span class="badge bg-secondary">Izin</span>';
|
||||
cardClass = 'border-secondary';
|
||||
break;
|
||||
|
||||
case 'annual':
|
||||
badge = '<span class="badge bg-dark">Cuti</span>';
|
||||
cardClass = 'border-dark';
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
html += `
|
||||
|
||||
Reference in New Issue
Block a user