Commit f62c1398 by Farendi Giotivano R.P

status belmawa

parent 9d9e9568
...@@ -78,20 +78,21 @@ ...@@ -78,20 +78,21 @@
<td>{{ $item->rJenis->nama }}</td> <td>{{ $item->rJenis->nama }}</td>
<td>{{ $item->judul }}</td> <td>{{ $item->judul }}</td>
<td> <td>
@if($item->rReviewProposal) @if($item->rBelmawa)
@if($item->rReviewProposal->status_final == '1') @if($item->rBelmawa->status == '0')
<span class="badge bg-success">Lolos Seleksi Internal</span> <span class="badge bg-warning">Upload Proposal Belmawa</span>
@else @else
<span class="badge bg-danger">Tidak Lolos Seleksi Internal</span> <span class="badge bg-danger">Tidak Lolos Seleksi Belmawa</span>
@endif @endif
@endif @endif
</td> </td>
<td> <td>
@if($item->rReviewProposal) @if($item->rBelmawa)
@if(is_null($item->rBelmawa->upload_dokumen)) @if(is_null($item->rBelmawa->upload_dokumen))
<a href="{{ URL::to('mahasiswa/seleksi-belmawa/revisi', $item->proposal_id) }}" type="button" class="btn btn-warning btn-sm waves-effect waves-light"> <i class="fas fa-edit"></i> Edit</a> <a href="{{ URL::to('mahasiswa/seleksi-belmawa/revisi', $item->proposal_id) }}" type="button" class="btn btn-warning btn-sm waves-effect waves-light"> <i class="fas fa-edit"></i> Edit</a>
@else @else
<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">Lihat</button>
{{-- <a onclick="hapus('{{ encrypt($item->proposal_id) }}', 'row-{{ $token }}')" class="btn btn-danger btn-sm">Hapus</a> --}}
@endif @endif
@endif @endif
...@@ -132,6 +133,7 @@ ...@@ -132,6 +133,7 @@
<td> <td>
<a href="https://statik.unesa.ac.id/simpkm/proposal/revisi/{{ $item->rPeriode->nama }}/{{ $item->rBelmawa->upload_dokumen }}" target="_blank" class="btn btn-success btn-sm"> <i class="far fa-eye"></i> Lihat Proposal</a> <a href="https://statik.unesa.ac.id/simpkm/proposal/revisi/{{ $item->rPeriode->nama }}/{{ $item->rBelmawa->upload_dokumen }}" target="_blank" class="btn btn-success btn-sm"> <i class="far fa-eye"></i> Lihat Proposal</a>
<iframe id="view-pdf" width="100%" height="400px" src="https://statik.unesa.ac.id/simpkm/proposal/revisi/{{ $item->rPeriode->nama }}/{{ $item->rBelmawa->upload_dokumen }}" frameborder="0"></iframe> <iframe id="view-pdf" width="100%" height="400px" src="https://statik.unesa.ac.id/simpkm/proposal/revisi/{{ $item->rPeriode->nama }}/{{ $item->rBelmawa->upload_dokumen }}" frameborder="0"></iframe>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -176,8 +178,8 @@ ...@@ -176,8 +178,8 @@
function hapus(id, rowId){ function hapus(id, rowId){
Swal.fire({ Swal.fire({
title: 'Apakah anda yakin untuk menghapus Kelompok?', title: 'Apakah anda yakin untuk menghapus usulan ini?',
text: "Semua anggota kelompok juga akan terhapus", text: "file yang sudah terupload juga terhapus",
icon: 'warning', icon: 'warning',
showCancelButton: true, showCancelButton: true,
confirmButtonText: 'OK', confirmButtonText: 'OK',
......
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