update monitoring
All checks were successful
Run Action to Production / run pull to sync on target message (push) Has been skipped

This commit is contained in:
fikyb 2024-05-21 11:40:24 +07:00
parent 8a53cc37ca
commit b96cea3047
2 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,9 @@ public function pemutihan(){
'pengajuan_pemutihans.*',
'users.nama_gelar as dosen_pengampu',
)
->join('users','users.id','=','dosen_id')->get();
->join('users','users.id','=','dosen_id')
->orderBy('created_at','desc')
->get();
return view('monitoring.pemutihan',['title' => 'Monitoring Pemutihan','data'=>$data]);
}

View File

@ -66,7 +66,7 @@
<td>{{$item->dosen_pengampu}}</td>
<td>{{$item->ruang_kelas}}</td>
<td>{{$item->tanggal_kelas}}</td>
<td>{{$item->status_operator}}</td>
<td>@if($item->status_operator === null)<span class="badge badge-warning">Diproses</span> @else <span class="badge badge-success">Selesai</span> @endif</td>
</tr>
@endforeach
</tbody>
@ -111,7 +111,7 @@
$("#example1").DataTable({
"pageLength": 50,
"responsive": true, "lengthChange": false, "autoWidth": false,
order: [[6, 'asc']],
order: [[5, 'desc']],
"buttons": ["csv", "excel", "pdf", "print", "colvis"]
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');