hr dan payroll

This commit is contained in:
Wian Drs
2026-09-15 10:38:43 +07:00
parent 5e1fd11410
commit 8fedd39d8f
47 changed files with 1409 additions and 370 deletions
+14 -4
View File
@@ -30,9 +30,19 @@
</div>
<script>
$(function () {
let table = $('#tableActivity').DataTable({
$(function () {
if (!$.fn || typeof $.fn.DataTable !== 'function') {
$('#tableActivity tbody').remove();
$('#tableActivity').append(
'<tbody><tr><td colspan="7" class="text-center text-danger py-4">' +
'Komponen tabel gagal dimuat. Silakan muat ulang halaman.' +
'</td></tr></tbody>'
);
return;
}
let table = $('#tableActivity').DataTable({
processing: true,
serverSide: true,
ajax: {
@@ -99,4 +109,4 @@ $(function () {
});
});
</script>
</script>