Penambahan Fitur Schedule
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
<table class="table table-bordered w-100" id="belum-finalisasi">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>SK</th>
|
||||
@include('verifikasi.sk._kolom_pilih_sk_th')
|
||||
<th>Nomor SK</th>
|
||||
<th>Tentang</th>
|
||||
<th>Tanggal</th>
|
||||
@@ -123,7 +123,7 @@
|
||||
width: '100%'
|
||||
});
|
||||
|
||||
pasangSkeletonSk('#belum-finalisasi');
|
||||
pasangSkeletonSk('#belum-finalisasi', 6, ['kotak', 'tiga', 'dua', 'pendek', 'pil']);
|
||||
var table = $('#belum-finalisasi').DataTable({
|
||||
processing: false,
|
||||
serverSide: true,
|
||||
@@ -134,13 +134,7 @@
|
||||
}
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
data: 'pdf',
|
||||
name: 'pdf',
|
||||
className: 'text-center',
|
||||
orderable: false,
|
||||
searchable: false
|
||||
},
|
||||
kolomPilihSkNonaktif(),
|
||||
{
|
||||
data: 'no_sk',
|
||||
name: 'no_sk',
|
||||
@@ -195,7 +189,7 @@
|
||||
@include('verifikasi.sk._kolom_sk_js')
|
||||
|
||||
$('#belum-finalisasi').on('click', 'tbody tr', function(e) {
|
||||
if ($(e.target).closest('a, button').length) { return; }
|
||||
if ($(e.target).closest('a, button, input, .col-pilih').length) { return; }
|
||||
var url = $(this).data('url');
|
||||
if (!url) { return; }
|
||||
var unitId = $('#unit_kerja_filter').val();
|
||||
|
||||
Reference in New Issue
Block a user