Commit caf87ee0 by Alfiro Pratama

Add View Video (Dosen), Replace Jenis PMW => Kategori PMW

parent 448c7cd9
...@@ -68,23 +68,34 @@ class ProposalController extends Controller ...@@ -68,23 +68,34 @@ class ProposalController extends Controller
public function lihat(Request $request) public function lihat(Request $request)
{ {
$item['proposal'] = Proposal::where('proposal_id', $request->proposal_id)->first(); $item['proposal'] = Proposal::where('proposal_id', $request->proposal_id)->first();
$item['url'] = ProposalUrl::where('proposal_id', $request->proposal_id)->all(); $item['url'] = ProposalUrl::where('proposal_id', $request->proposal_id)->get();
$data = ''; $data = '';
$no = 1; $no = 1;
if($item->upload_dokumen){ $link = '';
$dokumen = ' <a href="https://statik.unesa.ac.id/simpmw/proposal/'. $item->rPeriode->nama .'/'. $item->upload_dokumen.'" target="_blank" class="btn btn-success btn-sm"> <i class="far fa-eye"></i> Lihat Proposal</a> foreach ($item['url'] as $surel) {
<iframe id="view-pdf" width="100%" height="400px" src="https://statik.unesa.ac.id/simpmw/proposal/'. $item->rPeriode->nama .'/'.$item->upload_dokumen .'" frameborder="0"></iframe>'; $link .= $surel->url;
}else{ }
// $link = 'https://www.tiktok.com/@ringtone_29/video/7347691711562353926?is_from_webapp=1&sender_device=pc';
// dd($link);
if($item['proposal']->upload_dokumen){
$dokumen = '<a href="https://statik.unesa.ac.id/simpmw/proposal/'. $item['proposal']->rPeriode->nama .'/'. $item['proposal']->upload_dokumen.'" target="_blank" class="btn btn-success btn-sm"> <i class="far fa-eye"></i> Lihat Proposal</a>';
$url = '<a id="lihat" class="btn btn-success btn-sm" data-video="'. $link .'"><i class="far fa-eye"></i> Lihat Video</a>';
}
else{
$dokumen = '<div class="alert alert-danger alert-dismissible fade show mb-0" role="alert"> $dokumen = '<div class="alert alert-danger alert-dismissible fade show mb-0" role="alert">
<strong>Informasi!</strong><br/> File tidak ditemukan. <strong>Informasi!</strong><br/> File tidak ditemukan.
</div>'; </div>';
$url = '<div class="alert alert-danger alert-dismissible fade show mb-0" role="alert">
<strong>Informasi!</strong><br/> File tidak ditemukan.
</div>';
} }
if(is_null($item->status) OR $item->status == '0'){ if(is_null($item['proposal']->status) OR $item['proposal']->status == '0'){
$status = '<span class="badge bg-danger">Menunggu Persetujuan Dosen</span>'; $status = '<span class="badge bg-danger">Menunggu Persetujuan Dosen</span>';
}else{ }else{
$status = '<span class="badge bg-success">Sudah Disetujui Dosen</span>'; $status = '<span class="badge bg-success">Sudah Disetujui Dosen</span>';
...@@ -93,11 +104,11 @@ class ProposalController extends Controller ...@@ -93,11 +104,11 @@ class ProposalController extends Controller
$data .= " $data .= "
<tr> <tr>
<td>Judul Proposal</td> <td>Judul Proposal</td>
<td>".$item->judul."</td> <td>".$item['proposal']->judul."</td>
</tr> </tr>
<tr> <tr>
<td>Jenis PMW</td> <td>Kategori PMW</td>
<td>".$item->rJenis->nama."</td> <td>".$item['proposal']->rJenis->nama."</td>
</tr> </tr>
<tr> <tr>
<td>Status</td> <td>Status</td>
...@@ -109,14 +120,13 @@ class ProposalController extends Controller ...@@ -109,14 +120,13 @@ class ProposalController extends Controller
</tr> </tr>
<tr> <tr>
<td>Video Produk</td> <td>Video Produk</td>
<td>".$item['url']->url."</td> <td>".$url."</td>
</tr> </tr>
"; ";
$response['html'] = $data; $response['html'] = $data;
echo json_encode($response); echo json_encode($response);
} }
public function approve($id) public function approve($id)
......
...@@ -108,7 +108,7 @@ class SeleksiController extends Controller ...@@ -108,7 +108,7 @@ class SeleksiController extends Controller
<td>".$item->judul."</td> <td>".$item->judul."</td>
</tr> </tr>
<tr> <tr>
<td>Jenis PMW</td> <td>Kategori PMW</td>
<td>".$item->jenis_pkm."</td> <td>".$item->jenis_pkm."</td>
</tr> </tr>
<tr> <tr>
......
...@@ -129,8 +129,8 @@ class ProposalController extends Controller ...@@ -129,8 +129,8 @@ class ProposalController extends Controller
'file.file' => 'File harus berupa file.', 'file.file' => 'File harus berupa file.',
'file.mimes' => 'File harus berupa file PDF.', 'file.mimes' => 'File harus berupa file PDF.',
'file.max' => 'Ukuran file maksimal adalah 5 MB.', 'file.max' => 'Ukuran file maksimal adalah 5 MB.',
'jenis.required' => 'Harap pilih jenis PMW.', 'jenis.required' => 'Harap pilih Kategori PMW.',
'jenis.not_in' => 'Harap pilih jenis PMW yang valid.', 'jenis.not_in' => 'Harap pilih Kategori PMW yang valid.',
]); ]);
$periode = Periode::where('status', 1)->first(); $periode = Periode::where('status', 1)->first();
......
...@@ -191,7 +191,7 @@ class SeleksiController extends Controller ...@@ -191,7 +191,7 @@ class SeleksiController extends Controller
<td>".$item->judul."</td> <td>".$item->judul."</td>
</tr> </tr>
<tr> <tr>
<td>Jenis PMW</td> <td>Kategori PMW</td>
<td>".$item->jenis_pkm."</td> <td>".$item->jenis_pkm."</td>
</tr> </tr>
<tr> <tr>
......
...@@ -624,7 +624,7 @@ class DaftarProposalController extends Controller ...@@ -624,7 +624,7 @@ class DaftarProposalController extends Controller
if ($delete) { if ($delete) {
$status = 'success'; $status = 'success';
$message = "Berhasil ubah Jenis PMW."; $message = "Berhasil ubah Kategori PMW.";
} }
else{ else{
$status = 'error'; $status = 'error';
......
...@@ -18,7 +18,7 @@ class JenisController extends Controller ...@@ -18,7 +18,7 @@ class JenisController extends Controller
{ {
public function index() public function index()
{ {
return view('backend.operator.jenis.index')->withTitle('Jenis PMW'); return view('backend.operator.jenis.index')->withTitle('Kategori PMW');
} }
/* AJAX request */ /* AJAX request */
...@@ -89,7 +89,7 @@ class JenisController extends Controller ...@@ -89,7 +89,7 @@ class JenisController extends Controller
public function create() public function create()
{ {
return view('backend.operator.jenis.create')->withTitle('Tambah Jenis PMW'); return view('backend.operator.jenis.create')->withTitle('Tambah Kategori PMW');
} }
public function store(Request $request) public function store(Request $request)
...@@ -123,7 +123,7 @@ class JenisController extends Controller ...@@ -123,7 +123,7 @@ class JenisController extends Controller
'jenis' => $jenis 'jenis' => $jenis
]; ];
return view('backend.operator.jenis.edit', compact('data'))->withTitle('Ubah Jenis PMW'); return view('backend.operator.jenis.edit', compact('data'))->withTitle('Ubah Kategori PMW');
} }
public function update(Request $request, $id) public function update(Request $request, $id)
...@@ -147,11 +147,11 @@ class JenisController extends Controller ...@@ -147,11 +147,11 @@ class JenisController extends Controller
if ($delete == 1) { if ($delete == 1) {
$status = 'success'; $status = 'success';
$message = "Jenis PMW berhasil dihapus."; $message = "Kategori PMW berhasil dihapus.";
} }
else{ else{
$status = 'error'; $status = 'error';
$message = "Jenis PMW tidak ada."; $message = "Kategori PMW tidak ada.";
} }
return response()->json([ return response()->json([
......
...@@ -19,7 +19,7 @@ class JenisPenilaianMonevController extends Controller ...@@ -19,7 +19,7 @@ class JenisPenilaianMonevController extends Controller
{ {
public function index() public function index()
{ {
return view('backend.operator.jenis_penilaian_monev.index')->withTitle('Jenis PMW'); return view('backend.operator.jenis_penilaian_monev.index')->withTitle('Kategori PMW');
} }
/* AJAX request */ /* AJAX request */
...@@ -108,7 +108,7 @@ class JenisPenilaianMonevController extends Controller ...@@ -108,7 +108,7 @@ class JenisPenilaianMonevController extends Controller
'jenis_penilaian_monev' => $jenis_penilaian_monev 'jenis_penilaian_monev' => $jenis_penilaian_monev
]; ];
return view('backend.operator.jenis_penilaian_monev.edit', compact('data'))->withTitle('Ubah Jenis PMW'); return view('backend.operator.jenis_penilaian_monev.edit', compact('data'))->withTitle('Ubah Kategori PMW');
} }
public function update(Request $request, $id) public function update(Request $request, $id)
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Catatan Harian (Logbook)</th> <th>Catatan Harian (Logbook)</th>
<th>Laporan Kemajuan</th> <th>Laporan Kemajuan</th>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<td>{{ $item->judul }}</td> <td>{{ $item->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td>{{ $item->rJenis->nama }}</td> <td>{{ $item->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<th>No</th> <th>No</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th width="10%">Catatan Harian (Logbook)</th> <th width="10%">Catatan Harian (Logbook)</th>
<th width="10%">Laporan Kemajuan</th> <th width="10%">Laporan Kemajuan</th>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<td colspan="2">{{ $item->rProposal->judul }}</td> <td colspan="2">{{ $item->rProposal->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td colspan="2">{{ $item->rProposal->rJenis->nama }}</td> <td colspan="2">{{ $item->rProposal->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<th>No</th> <th>No</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th width="10%">Catatan Harian (Logbook)</th> <th width="10%">Catatan Harian (Logbook)</th>
<th width="10%">Laporan Kemajuan</th> <th width="10%">Laporan Kemajuan</th>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<td colspan="2">{{ $item->rProposal->judul }}</td> <td colspan="2">{{ $item->rProposal->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td colspan="2">{{ $item->rProposal->rJenis->nama }}</td> <td colspan="2">{{ $item->rProposal->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<th>No</th> <th>No</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Catatan Harian (Logbook)</th> <th>Catatan Harian (Logbook)</th>
<th>Laporan Kemajuan</th> <th>Laporan Kemajuan</th>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<td colspan="2">{{ $item->rProposal->judul }}</td> <td colspan="2">{{ $item->rProposal->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td colspan="2">{{ $item->rProposal->rJenis->nama }}</td> <td colspan="2">{{ $item->rProposal->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
{{-- <th>Identitas Dosen Pembimbing</th> --}} {{-- <th>Identitas Dosen Pembimbing</th> --}}
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
</div> <!-- end row --> </div> <!-- end row -->
<div id="lihatDetail" class="modal fade"> <div id="lihatDetail" class="modal fade">
<div class="modal-dialog modal-xl"> <div class="modal-dialog modal-xl modal-dialog-centered">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h5 class="modal-title" id="lihatLabel">Detail Proposal </h5> <h5 class="modal-title" id="lihatLabel">Detail Proposal </h5>
...@@ -222,33 +222,88 @@ function setuju(id, rowId){ ...@@ -222,33 +222,88 @@ function setuju(id, rowId){
}) })
} }
$(document).ready(function(){ $(document).ready(function() {
$('#datatable').on('click','.lihatDet',function(){
var proId = $(this).attr('data-id');
$('#datatable').on('click','.lihatDet',function(){ if (proId != null || proId != '') {
var proId = $(this).attr('data-id'); // Kosongkan data modal
$('#tableDetail tbody').empty();
if(proId != null || proId != ''){ $.ajax({
// Empty modal data url: "{{ route('dosen.proposal-lihat') }}",
$('#tableDetail tbody').empty(); data: {
"proposal_id": proId,
},
dataType: 'json',
success: function(response) {
// Tampilkan data di dalam modal
$('#tableDetail tbody').html(response.html);
$.ajax({ // Tampilkan modal
url: "{{route('dosen.proposal.lihat')}}", $('#lihatDetail').modal('show');
data : {
"proposal_id": proId,
},
dataType: 'json',
success: function(response){
// Add user details
$('#tableDetail tbody').html(response.html);
// Display Modal // Inisialisasi Magnific Popup pada tombol "Lihat Video"
$('#lihatDetail').modal('show'); initMagnificPopup();
} }
}); });
}
});
// Fungsi untuk inisialisasi Magnific Popup pada tombol "Lihat Video"
function initMagnificPopup() {
$('#tableDetail').on('click', '#lihat', function() {
var videoUrl = $(this).attr('data-video');
// console.log(videoUrl);
if (videoUrl) {
// Cek jika URL video adalah format youtu.be
if (videoUrl.includes('youtu.be')) {
// Konversi ke format youtube.com/watch?v=xxxxx
videoUrl = videoUrl.replace('youtu.be/', 'youtube.com/watch?v=');
}
// Buka video dalam Magnific Popup jika valid, buka di tab baru jika tidak
if (isValidYouTubeUrl(videoUrl)) {
$.magnificPopup.open({
items: {
src: videoUrl
},
type: 'iframe',
iframe: {
markup: '<div class="mfp-iframe-scaler">'+
'<div class="mfp-close"></div>'+
'<iframe class="mfp-iframe" frameborder="0" allowfullscreen allow="autoplay"></iframe>'+
'</div>'
},
callbacks: {
open: function() {
// Sembunyikan modal lama saat Magnific Popup dibuka
$('#lihatDetail').modal('hide');
},
close: function() {
// Tampilkan kembali modal setelah Magnific Popup ditutup
$('#lihatDetail').modal('show');
}
}
});
} else {
// Buka video di tab baru jika tidak valid
window.open(videoUrl, '_blank');
}
} else {
console.error('URL video tidak valid:', videoUrl);
} }
}); });
}
// Fungsi untuk memeriksa apakah URL video YouTube valid
function isValidYouTubeUrl(url) {
// Lakukan validasi sederhana menggunakan ekspresi reguler
return /^(http(s)?:\/\/)?((w){3}.)?youtu(be|.be)?(\.com)?\/.+/gm.test(url);
}
});
});
$('body').on('click', '#revPro', function (event) { $('body').on('click', '#revPro', function (event) {
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<th>No</th> <th>No</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<td>{{ $item->judul }}</td> <td>{{ $item->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td>{{ $item->rJenis->nama }}</td> <td>{{ $item->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<th>No</th> <th>No</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</div> </div>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW</label> <label class="col-sm-2 col-form-label">Kategori PMW</label>
<div class="col-sm-10"> <div class="col-sm-10">
<select class="form-select select2" name="jenis"> <select class="form-select select2" name="jenis">
<option selected>Pilih Jenis</option> <option selected>Pilih Jenis</option>
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Catatan Harian (Logbook)</th> <th>Catatan Harian (Logbook)</th>
<th>Laporan Kemajuan</th> <th>Laporan Kemajuan</th>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<td>{{ $item->judul }}</td> <td>{{ $item->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td>{{ $item->rJenis->nama }}</td> <td>{{ $item->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th width="10%">Catatan Harian (Logbook)</th> <th width="10%">Catatan Harian (Logbook)</th>
<th width="10%">Laporan Kemajuan</th> <th width="10%">Laporan Kemajuan</th>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<td colspan="2">{{ $item->rProposal->judul }}</td> <td colspan="2">{{ $item->rProposal->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td colspan="2">{{ $item->rProposal->rJenis->nama }}</td> <td colspan="2">{{ $item->rProposal->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th width="10%">Catatan Harian (Logbook)</th> <th width="10%">Catatan Harian (Logbook)</th>
<th width="10%">Laporan Kemajuan</th> <th width="10%">Laporan Kemajuan</th>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<td colspan="2">{{ $item->rProposal->judul }}</td> <td colspan="2">{{ $item->rProposal->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td colspan="2">{{ $item->rProposal->rJenis->nama }}</td> <td colspan="2">{{ $item->rProposal->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th width="10%">Catatan Harian (Logbook)</th> <th width="10%">Catatan Harian (Logbook)</th>
<th width="10%">Laporan Kemajuan</th> <th width="10%">Laporan Kemajuan</th>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<td colspan="2">{{ $item->rProposal->judul }}</td> <td colspan="2">{{ $item->rProposal->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td colspan="2">{{ $item->rProposal->rJenis->nama }}</td> <td colspan="2">{{ $item->rProposal->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<label class="col-sm-10 col-form-label">{{ $proposal->rProposal->judul }}</label> <label class="col-sm-10 col-form-label">{{ $proposal->rProposal->judul }}</label>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW</label> <label class="col-sm-2 col-form-label">Kategori PMW</label>
<label class="col-sm-10 col-form-label">{{ $proposal->rProposal->rJenis->nama }}</label> <label class="col-sm-10 col-form-label">{{ $proposal->rProposal->rJenis->nama }}</label>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW<span style="color: red;"> *</span></label> <label class="col-sm-2 col-form-label">Kategori PMW<span style="color: red;"> *</span></label>
<div class="col-sm-10"> <div class="col-sm-10">
<select class="form-select select2" name="jenis"> <select class="form-select select2" name="jenis">
<option selected>Pilih Jenis</option> <option selected>Pilih Jenis</option>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<th width="5%">Kode Kelompok</th> <th width="5%">Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
@endif @endif
</td> </td>
<td> <td>
<button data-bs-toggle="modal" data-bs-target="{{ '#lihat'.$item->proposal_id }}" href="{{ URL::to('mahasiswa/kelompok-new', encrypt($item->proposal_id)) }}" class="btn btn-info btn-sm">Lihat</button> <button data-bs-toggle="modal" data-bs-target="{{ '#lihat'.$item->proposal_id }}" href="{{ URL::to('mahasiswa/kelompok-new', encrypt($item->proposal_id)) }}" class="btn btn-info btn-sm"><i class="far fa-eye"></i> Lihat</button>
@if(is_null($item->status) || $item->status == '2') @if(is_null($item->status) || $item->status == '2')
<a href="{{ URL::to('mahasiswa/proposal/'.encrypt($item->proposal_id).'/edit') }}" class="btn btn-warning btn-sm">Revisi</a> <a href="{{ URL::to('mahasiswa/proposal/'.encrypt($item->proposal_id).'/edit') }}" class="btn btn-warning btn-sm">Revisi</a>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<td>{{ $item->judul }}</td> <td>{{ $item->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td>{{ $item->rJenis->nama }}</td> <td>{{ $item->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
...@@ -235,8 +235,6 @@ ...@@ -235,8 +235,6 @@
}) })
} }
</script> </script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
<!-- Kode JavaScript untuk Magnific Popup --> <!-- Kode JavaScript untuk Magnific Popup -->
@if (count($proposal) > 0) @if (count($proposal) > 0)
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<td>{{ $item->judul }}</td> <td>{{ $item->judul }}</td>
</tr> </tr>
<tr> <tr>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<td>{{ $item->rJenis->nama }}</td> <td>{{ $item->rJenis->nama }}</td>
</tr> </tr>
<tr> <tr>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</div> </div>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW</label> <label class="col-sm-2 col-form-label">Kategori PMW</label>
<div class="col-sm-10"> <div class="col-sm-10">
<select class="form-select select2" name="jenis"> <select class="form-select select2" name="jenis">
<option selected>Pilih Jenis</option> <option selected>Pilih Jenis</option>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<label class="col-sm-10 col-form-label">{{ $proposal->judul }}</label> <label class="col-sm-10 col-form-label">{{ $proposal->judul }}</label>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW</label> <label class="col-sm-2 col-form-label">Kategori PMW</label>
<label class="col-sm-10 col-form-label">{{ $proposal->rJenis->nama }}</label> <label class="col-sm-10 col-form-label">{{ $proposal->rJenis->nama }}</label>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="row"> <div class="row">
<label class="col-sm-3 col-form-label">Jenis PMW : </label> <label class="col-sm-3 col-form-label">Kategori PMW : </label>
<div class="col-sm-6"> <div class="col-sm-6">
<select class="form-select select2" name="reqJenisPkm" id="reqJenisPkm"> <select class="form-select select2" name="reqJenisPkm" id="reqJenisPkm">
<option value="0">Semua</option> <option value="0">Semua</option>
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<tr> <tr>
<th>id</th> <th>id</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Dosen Pembimbing</th> <th>Dosen Pembimbing</th>
<th>Proposal</th> <th>Proposal</th>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<tr> <tr>
<td style="border: 1px solid #000000;"><strong>No</strong></td> <td style="border: 1px solid #000000;"><strong>No</strong></td>
<td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td> <td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td>
<td style="border: 1px solid #000000;"><strong>Jenis PMW</strong></td> <td style="border: 1px solid #000000;"><strong>Kategori PMW</strong></td>
<td style="border: 1px solid #000000;"><strong>Fak.</strong></td> <td style="border: 1px solid #000000;"><strong>Fak.</strong></td>
<td style="border: 1px solid #000000;"><strong>Nama</strong></td> <td style="border: 1px solid #000000;"><strong>Nama</strong></td>
<td style="border: 1px solid #000000;"><strong>NIM</strong></td> <td style="border: 1px solid #000000;"><strong>NIM</strong></td>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<tr> <tr>
<td style="border: 1px solid #000000;"><strong>No</strong></td> <td style="border: 1px solid #000000;"><strong>No</strong></td>
<td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td> <td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td>
<td style="border: 1px solid #000000;"><strong>Jenis PMW</strong></td> <td style="border: 1px solid #000000;"><strong>Kategori PMW</strong></td>
<td style="border: 1px solid #000000;"><strong>Fak.</strong></td> <td style="border: 1px solid #000000;"><strong>Fak.</strong></td>
<td style="border: 1px solid #000000;"><strong>Nama</strong></td> <td style="border: 1px solid #000000;"><strong>Nama</strong></td>
<td style="border: 1px solid #000000;"><strong>NIM</strong></td> <td style="border: 1px solid #000000;"><strong>NIM</strong></td>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="row"> <div class="row">
<label class="col-sm-3 col-form-label">Jenis PMW : </label> <label class="col-sm-3 col-form-label">Kategori PMW : </label>
<div class="col-sm-6"> <div class="col-sm-6">
<select class="form-select select2" name="reqJenisPkm" id="reqJenisPkm"> <select class="form-select select2" name="reqJenisPkm" id="reqJenisPkm">
<option value="0">Semua</option> <option value="0">Semua</option>
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<tr> <tr>
<th rowspan="2">id</th> <th rowspan="2">id</th>
<th rowspan="2" width='5%'>Kode Kelompok</th> <th rowspan="2" width='5%'>Kode Kelompok</th>
<th rowspan="2" width='15%'>Jenis PMW</th> <th rowspan="2" width='15%'>Kategori PMW</th>
<th rowspan="2" width='20%'>Judul Proposal</th> <th rowspan="2" width='20%'>Judul Proposal</th>
<th rowspan="2" width='10%'>Dosen Pembimbing</th> <th rowspan="2" width='10%'>Dosen Pembimbing</th>
<th rowspan="2" width='15%'>Reviewer 1</th> <th rowspan="2" width='15%'>Reviewer 1</th>
...@@ -235,10 +235,10 @@ ...@@ -235,10 +235,10 @@
var isi = this.value; var isi = this.value;
Swal.fire({ Swal.fire({
title: "Apakah Anda Yakin?", title: "Apakah Anda Yakin?",
text: "Anda akan meruhan jenis PMW ini?!", text: "Anda akan mengubah Kategori PMW ini?!",
icon: "warning", icon: "warning",
showCancelButton: !0, showCancelButton: !0,
confirmButtonText: "Ya, Ubah Jenis", confirmButtonText: "Ya, Ubah Kategori",
cancelButtonText: "Tidak, Kembali!", cancelButtonText: "Tidak, Kembali!",
confirmButtonClass: "btn btn-success mt-2", confirmButtonClass: "btn btn-success mt-2",
cancelButtonClass: "btn btn-danger ms-2 mt-2", cancelButtonClass: "btn btn-danger ms-2 mt-2",
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="row"> <div class="row">
<label class="col-sm-3 col-form-label">Jenis PMW : </label> <label class="col-sm-3 col-form-label">Kategori PMW : </label>
<div class="col-sm-6"> <div class="col-sm-6">
<select class="form-select select2" name="reqJenisPkm" id="reqJenisPkm"> <select class="form-select select2" name="reqJenisPkm" id="reqJenisPkm">
<option value="0">Semua</option> <option value="0">Semua</option>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<tr> <tr>
<th rowspan="2">id</th> <th rowspan="2">id</th>
<th rowspan="2">Kode Kelompok</th> <th rowspan="2">Kode Kelompok</th>
<th rowspan="2">Jenis PMW</th> <th rowspan="2">Kategori PMW</th>
<th rowspan="2">Judul Proposal</th> <th rowspan="2">Judul Proposal</th>
<th rowspan="2">Dosen Pembimbing</th> <th rowspan="2">Dosen Pembimbing</th>
<th rowspan="2">Reviewer 1</th> <th rowspan="2">Reviewer 1</th>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<h6 class="page-title">{!! $title !!}</h6> <h6 class="page-title">{!! $title !!}</h6>
<ol class="breadcrumb m-0"> <ol class="breadcrumb m-0">
<li class="breadcrumb-item">Setting</li> <li class="breadcrumb-item">Setting</li>
<li class="breadcrumb-item"><a href="{{ URL::to('operator/jenis') }}">Jenis PMW</a></li> <li class="breadcrumb-item"><a href="{{ URL::to('operator/jenis') }}">Kategori PMW</a></li>
<li class="breadcrumb-item">{!! $title !!}</li> <li class="breadcrumb-item">{!! $title !!}</li>
</ol> </ol>
</div> </div>
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
{!! Form::open(array('url' => route('operator.jenis.store'), 'method' => 'POST', 'id' => 'ff', 'class' => 'form-horizontal')) !!} {!! Form::open(array('url' => route('operator.jenis.store'), 'method' => 'POST', 'id' => 'ff', 'class' => 'form-horizontal')) !!}
{!! csrf_field() !!} {!! csrf_field() !!}
<div class="row mb-3"> <div class="row mb-3">
<label for="example-text-input" class="col-sm-2 col-form-label">Jenis PMW</label> <label for="example-text-input" class="col-sm-2 col-form-label">Kategori PMW</label>
<div class="col-sm-10"> <div class="col-sm-10">
{{ Form::text('nama', old('nama'), array('class' => 'form-control', 'placeholder' => 'Masukkan Jenis PMW')) }} {{ Form::text('nama', old('nama'), array('class' => 'form-control', 'placeholder' => 'Masukkan Kategori PMW')) }}
@if ($errors->has('nama')) @if ($errors->has('nama'))
<span class="help-block">{{$errors->first('nama')}}</span> <span class="help-block">{{$errors->first('nama')}}</span>
@endif @endif
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<h6 class="page-title">{!! $title !!}</h6> <h6 class="page-title">{!! $title !!}</h6>
<ol class="breadcrumb m-0"> <ol class="breadcrumb m-0">
<li class="breadcrumb-item">Setting</li> <li class="breadcrumb-item">Setting</li>
<li class="breadcrumb-item"><a href="{{ URL::to('operator/jenis') }}">Jenis PMW</a></li> <li class="breadcrumb-item"><a href="{{ URL::to('operator/jenis') }}">Kategori PMW</a></li>
<li class="breadcrumb-item">{!! $title !!}</li> <li class="breadcrumb-item">{!! $title !!}</li>
</ol> </ol>
</div> </div>
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
{!! Form::model($jenis, ['route' => ['operator.jenis.update', $id], 'method'=>'patch', 'class'=>'form-horizontal']) !!} {!! Form::model($jenis, ['route' => ['operator.jenis.update', $id], 'method'=>'patch', 'class'=>'form-horizontal']) !!}
{!! csrf_field() !!} {!! csrf_field() !!}
<div class="row mb-3"> <div class="row mb-3">
<label for="example-text-input" class="col-sm-2 col-form-label">Jenis PMW</label> <label for="example-text-input" class="col-sm-2 col-form-label">Kategori PMW</label>
<div class="col-sm-10"> <div class="col-sm-10">
{{ Form::text('nama', null, array('class' => 'form-control', 'placeholder' => 'Masukkan Jenis PMW')) }} {{ Form::text('nama', null, array('class' => 'form-control', 'placeholder' => 'Masukkan Kategori PMW')) }}
@if ($errors->has('nama')) @if ($errors->has('nama'))
<span class="help-block">{{$errors->first('nama')}}</span> <span class="help-block">{{$errors->first('nama')}}</span>
@endif @endif
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<thead> <thead>
<tr> <tr>
<th>id</th> <th>id</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Deskripsi</th> <th>Deskripsi</th>
<th>Aksi</th> <th>Aksi</th>
</tr> </tr>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
{!! Form::model($jenis, ['route' => ['operator.jenis-penilaian-monev.update', $id], 'method'=>'patch', 'class'=>'form-horizontal']) !!} {!! Form::model($jenis, ['route' => ['operator.jenis-penilaian-monev.update', $id], 'method'=>'patch', 'class'=>'form-horizontal']) !!}
{!! csrf_field() !!} {!! csrf_field() !!}
<div class="row mb-3"> <div class="row mb-3">
<label for="example-text-input" class="col-sm-2 col-form-label">Jenis PMW </label> <label for="example-text-input" class="col-sm-2 col-form-label">Kategori PMW </label>
<div class="col-sm-10"> <div class="col-sm-10">
<label for="example-text-input" class="col-sm-2 col-form-label">: {{ $jenis->nama }}</label> <label for="example-text-input" class="col-sm-2 col-form-label">: {{ $jenis->nama }}</label>
</div> </div>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<thead> <thead>
<tr> <tr>
<th>id</th> <th>id</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Deskripsi</th> <th>Deskripsi</th>
<th>Jumlah Komponen</th> <th>Jumlah Komponen</th>
<th>Aksi</th> <th>Aksi</th>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<tr> <tr>
<td style="border: 1px solid #000000;"><strong>No</strong></td> <td style="border: 1px solid #000000;"><strong>No</strong></td>
<td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td> <td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td>
<td style="border: 1px solid #000000;"><strong>Jenis PMW</strong></td> <td style="border: 1px solid #000000;"><strong>Kategori PMW</strong></td>
<td style="border: 1px solid #000000;"><strong>Fak.</strong></td> <td style="border: 1px solid #000000;"><strong>Fak.</strong></td>
<td style="border: 1px solid #000000;"><strong>Nama</strong></td> <td style="border: 1px solid #000000;"><strong>Nama</strong></td>
<td style="border: 1px solid #000000;"><strong>NIM</strong></td> <td style="border: 1px solid #000000;"><strong>NIM</strong></td>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="row"> <div class="row">
<label class="col-sm-3 col-form-label">Jenis PMW : </label> <label class="col-sm-3 col-form-label">Kategori PMW : </label>
<div class="col-sm-6"> <div class="col-sm-6">
<select class="form-select" name="reqJenisPkm" id="reqJenisPkm"> <select class="form-select" name="reqJenisPkm" id="reqJenisPkm">
<option value="0">Semua</option> <option value="0">Semua</option>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Identitas Ketua</th> <th>Identitas Ketua</th>
<th>Identitas Dosen Pembimbing</th> <th>Identitas Dosen Pembimbing</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Aksi</th> <th>Aksi</th>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW</label> <label class="col-sm-2 col-form-label">Kategori PMW</label>
<div class="col-sm-10"> <div class="col-sm-10">
<span>{{ $monev ? $monev->jenis_pkm : '' }}</span> <span>{{ $monev ? $monev->jenis_pkm : '' }}</span>
</div> </div>
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<tr> <tr>
<th>id</th> <th>id</th>
<th>Kode Kelompok</th> <th>Kode Kelompok</th>
<th>Jenis PMW</th> <th>Kategori PMW</th>
<th>Judul Proposal</th> <th>Judul Proposal</th>
<th>Status</th> <th>Status</th>
<th>Proposal</th> <th>Proposal</th>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
</div> </div>
<div class=" row mb-3"> <div class=" row mb-3">
<label class="col-sm-2 col-form-label">Jenis PMW</label> <label class="col-sm-2 col-form-label">Kategori PMW</label>
<div class="col-sm-10"> <div class="col-sm-10">
<span>{{ $proposal ? $proposal->jenis_pkm : '' }}</span> <span>{{ $proposal ? $proposal->jenis_pkm : '' }}</span>
</div> </div>
......
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
<link href="{{ asset('theme/libs/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css') }}" rel="stylesheet" <link href="{{ asset('theme/libs/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css') }}" rel="stylesheet"
type="text/css"> type="text/css">
<!-- Magnific Popup -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css">
<!-- Responsive datatable examples --> <!-- Responsive datatable examples -->
<link href="{{ asset('theme/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css') }}" <link href="{{ asset('theme/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css') }}"
rel="stylesheet" type="text/css"> rel="stylesheet" type="text/css">
......
...@@ -49,6 +49,9 @@ ...@@ -49,6 +49,9 @@
<script src="{{ asset('theme/libs/select2/js/select2.min.js') }}"></script> <script src="{{ asset('theme/libs/select2/js/select2.min.js') }}"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
{{-- <script type="text/javascript" src="{{ asset('theme/js/eModal.js') }}"></script> --}} {{-- <script type="text/javascript" src="{{ asset('theme/js/eModal.js') }}"></script> --}}
{{-- <script> {{-- <script>
function openPopup(linkUrl) { function openPopup(linkUrl) {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<li class="{{ (request()->is('operator/jenis/*')) ? 'mm-active' : '' }}"> <li class="{{ (request()->is('operator/jenis/*')) ? 'mm-active' : '' }}">
<a href="{{ URL::to('operator/jenis') }}" class="waves-effect"> <a href="{{ URL::to('operator/jenis') }}" class="waves-effect">
<i class="ti-home"></i> <i class="ti-home"></i>
<span>Jenis PMW</span> <span>Kategori PMW</span>
</a> </a>
</li> </li>
<li class="{{ (request()->is('operator/jenis-penilaian-monev/*')) ? 'mm-active' : '' }}"> <li class="{{ (request()->is('operator/jenis-penilaian-monev/*')) ? 'mm-active' : '' }}">
......
...@@ -127,7 +127,7 @@ Route::group(['middleware' => ['auth:sanctum', 'verified']], function () { ...@@ -127,7 +127,7 @@ Route::group(['middleware' => ['auth:sanctum', 'verified']], function () {
//proposal //proposal
Route::resource('proposal', DosenProposal::class); Route::resource('proposal', DosenProposal::class);
Route::post('/proposal-setuju', [DosenProposal::class, 'setuju'])->name('proposal.setuju'); Route::post('/proposal-setuju', [DosenProposal::class, 'setuju'])->name('proposal.setuju');
Route::get('/proposal-lihat', [DosenProposal::class, 'lihat'])->name('proposal.lihat'); Route::get('/proposal-lihat', [DosenProposal::class, 'lihat'])->name('proposal-lihat');
Route::get('/proposal-approv/{id}', [DosenProposal::class, 'approve'])->name('proposal.approv'); Route::get('/proposal-approv/{id}', [DosenProposal::class, 'approve'])->name('proposal.approv');
Route::post('/proposal-tolak', [DosenProposal::class, 'tolak'])->name('proposal.tolak'); Route::post('/proposal-tolak', [DosenProposal::class, 'tolak'])->name('proposal.tolak');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment