Commit f62c1398 by Farendi Giotivano R.P

status belmawa

parent 9d9e9568
......@@ -78,20 +78,21 @@
<td>{{ $item->rJenis->nama }}</td>
<td>{{ $item->judul }}</td>
<td>
@if($item->rReviewProposal)
@if($item->rReviewProposal->status_final == '1')
<span class="badge bg-success">Lolos Seleksi Internal</span>
@if($item->rBelmawa)
@if($item->rBelmawa->status == '0')
<span class="badge bg-warning">Upload Proposal Belmawa</span>
@else
<span class="badge bg-danger">Tidak Lolos Seleksi Internal</span>
<span class="badge bg-danger">Tidak Lolos Seleksi Belmawa</span>
@endif
@endif
</td>
<td>
@if($item->rReviewProposal)
@if($item->rBelmawa)
@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>
@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>
{{-- <a onclick="hapus('{{ encrypt($item->proposal_id) }}', 'row-{{ $token }}')" class="btn btn-danger btn-sm">Hapus</a> --}}
@endif
@endif
......@@ -132,6 +133,7 @@
<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>
<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>
</tr>
<tr>
......@@ -176,8 +178,8 @@
function hapus(id, rowId){
Swal.fire({
title: 'Apakah anda yakin untuk menghapus Kelompok?',
text: "Semua anggota kelompok juga akan terhapus",
title: 'Apakah anda yakin untuk menghapus usulan ini?',
text: "file yang sudah terupload juga terhapus",
icon: 'warning',
showCancelButton: true,
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