2024-02-27 22:53:57 +07:00
|
|
|
|
<!-- Extend Layout -->
|
|
|
|
|
@extends('layout.app')
|
|
|
|
|
<!-- Add Custom CSS -->
|
|
|
|
|
@push('css')
|
|
|
|
|
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
|
|
|
|
|
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
|
|
|
|
|
<link rel="stylesheet" href="{{asset('/')}}plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
|
|
|
|
|
|
|
|
|
|
@endpush
|
|
|
|
|
<!-- Add Content Here -->
|
|
|
|
|
@section('content')
|
|
|
|
|
<!-- Include Sidebar -->
|
2024-03-02 18:06:48 +07:00
|
|
|
|
@include('layout.navbars.sidebar')
|
2024-02-27 22:53:57 +07:00
|
|
|
|
<div class="content-wrapper">
|
|
|
|
|
<!-- Main content -->
|
|
|
|
|
<section class="content-header">
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="row mb-2">
|
|
|
|
|
<div class="col-sm-6">
|
2024-03-02 18:06:48 +07:00
|
|
|
|
<h1>Pengajuan DPU / DPA</h1>
|
2024-02-27 22:53:57 +07:00
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<ol class="breadcrumb float-sm-right">
|
2024-03-02 18:06:48 +07:00
|
|
|
|
<li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">Admin</a></li>
|
|
|
|
|
<li class="breadcrumb-item active">Pengajuan DPU / DPA</li>
|
2024-02-27 22:53:57 +07:00
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- /.container-fluid -->
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="content">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- /.card-header -->
|
|
|
|
|
<div class="card-body">
|
2024-03-02 18:06:48 +07:00
|
|
|
|
<div class="alert alert-info alert-dismissible">
|
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
|
<h5><i class="icon fas fa-info"></i> Perhatian!</h5>
|
|
|
|
|
<span >CaseID Akan muncul ketika pengajuan telah diterima untuk menghindari data duplikat untuk mahasiswa yang sama</span>
|
|
|
|
|
</div>
|
2024-02-27 22:53:57 +07:00
|
|
|
|
<table id="example1" class="table table-bordered table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2024-03-02 18:06:48 +07:00
|
|
|
|
<th>CaseID</th>
|
|
|
|
|
<th>NIM</th>
|
|
|
|
|
<th>DPU</th>
|
|
|
|
|
<th>DPA</th>
|
|
|
|
|
<th>Action</th>
|
2024-02-27 22:53:57 +07:00
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2024-03-02 18:06:48 +07:00
|
|
|
|
@foreach ($data as $datas)
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{ $datas->caseid }}</td>
|
|
|
|
|
<td>{{ $datas->nim }} </td>
|
|
|
|
|
<td>{{ $datas->dpu_nama_gelar }}</td>
|
|
|
|
|
<td>{{ $datas->dpa_nama_gelar }}</td>
|
|
|
|
|
<td><button class="btn btn-primary" data-toggle="modal" data-target="#LY{{ $datas->id }}" >Details</button> | <button class="btn btn-success">Terima</button> | <button class="btn btn-danger">Tolak</button></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<div class="modal fade" id="LY{{$datas->id}}">
|
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Details Data <b>{{ $datas->caseid }}</b></h4>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col">
|
|
|
|
|
<label for="nim">NIM:</label>
|
|
|
|
|
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nim }}">
|
|
|
|
|
<label for="nama">Nama Mahasiswa:</label>
|
|
|
|
|
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->nama }}">
|
|
|
|
|
<label for="dosen_dpu">Dosen DPU: {{ $datas->ttd_dpu === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpu }}</label>
|
|
|
|
|
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpu_nama_gelar }}">
|
|
|
|
|
<label for="dosen_dpa">Dosen DPA: {{ $datas->ttd_dpa === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_dpa }}</label>
|
|
|
|
|
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->dpa_nama_gelar }}">
|
|
|
|
|
<label for="dosen_kombi">Kombi: </label>
|
|
|
|
|
<input type="text" class="form-control form-control-border" readonly value="{{ $datas->ttd_kombi === '-' ? 'Belum Tanda Tangan' : 'Telah TTD Pada '.$datas->ttd_kombi }}">
|
|
|
|
|
<label for="file_transkrip">Lihat File Transkrip:</label>
|
|
|
|
|
<a href="{{asset('storage')}}/{{ $datas->nim }}/{{ $datas->bukti_transkrip_nilai }}" target="_blank"><input type="text" class="form-control form-control-border" readonly value="Klik Disini"></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer justify-content-between">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /.modal-content -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /.modal-dialog -->
|
|
|
|
|
</div>
|
|
|
|
|
@endforeach
|
2024-02-27 22:53:57 +07:00
|
|
|
|
</tbody>
|
|
|
|
|
<tfoot>
|
2024-03-02 18:06:48 +07:00
|
|
|
|
<tr>
|
|
|
|
|
<th>CaseID</th>
|
|
|
|
|
<th>NIM</th>
|
|
|
|
|
<th>DPU</th>
|
|
|
|
|
<th>DPA</th>
|
|
|
|
|
<th>Action</th>
|
|
|
|
|
</tr>
|
2024-02-27 22:53:57 +07:00
|
|
|
|
</tfoot>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /.card-body -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /.card -->
|
|
|
|
|
</section>
|
|
|
|
|
<!-- /.content -->
|
|
|
|
|
</div>
|
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
|
|
<!-- Add Custom JS -->
|
|
|
|
|
@push('js')
|
|
|
|
|
<!-- DataTables & Plugins -->
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables/jquery.dataTables.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/jszip/jszip.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/pdfmake/pdfmake.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/pdfmake/vfs_fonts.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.html5.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.print.min.js"></script>
|
|
|
|
|
<script src="{{asset('/')}}plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
$(function () {
|
|
|
|
|
$("#example1").DataTable({
|
|
|
|
|
"responsive": true, "lengthChange": false, "autoWidth": false,
|
|
|
|
|
"buttons": [{
|
|
|
|
|
// New button configuration
|
|
|
|
|
text: 'Tambah Data', // Replace with your desired button text
|
|
|
|
|
action: function ( e, dt, node, config ) {
|
|
|
|
|
// Perform your custom action here, e.g., open a new tab with the external link
|
|
|
|
|
window.open("{{ route('layanan-dpudpa.tambah')}}", '_blank');
|
|
|
|
|
}
|
|
|
|
|
},"csv", "excel", "pdf", "print", "colvis"]
|
|
|
|
|
}).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
|
2024-03-02 18:06:48 +07:00
|
|
|
|
|
2024-02-27 22:53:57 +07:00
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
@endpush
|
|
|
|
|
|