Commit dbd9ac8c by Alfiro Pratama

Cek Laporan Akhir (View by Admin / Operator)

parent f9d0ea30
......@@ -132,7 +132,9 @@ class MonevProposalController extends Controller
$rata = $record->rata;
$logbook = is_null($record->logbook_file) ? '<span class="badge bg-danger">File logbook belum diunggah</span>' : '<a href="https://statik.unesa.ac.id/simpmw/'.$path[$record->jenis_monev_id].'/logbook/'.$record->logbook_file.'" class="btn btn-primary btn-sm waves-effect waves-light" role="button" target="_blank">Review <i class="fas fa-search"></i></a>';
$laporan_kemajuan = is_null($record->kemajuan_file) ? '<span class="badge bg-danger">File laporan kemajuan belum diunggah</span>' : '<a href="https://statik.unesa.ac.id/simpmw/'.$path[$record->jenis_monev_id].'/kemajuan/'.$record->kemajuan_file.'" class="btn btn-primary btn-sm waves-effect waves-light" role="button" target="_blank">Review <i class="fas fa-search"></i></a>';
$laporan_akhir = is_null($record->akhir_file) ? '<span class="badge bg-danger">File laporan akhir belum diunggah</span>' : '<a href="https://statik.unesa.ac.id/simpmw/'.$path[$record->jenis_monev_id].'/akhir/'.$record->akhir_file.'" class="btn btn-primary btn-sm waves-effect waves-light" role="button" target="_blank">Review <i class="fas fa-search"></i></a>';
$laporan_luaran = '<a href="' . route('reviewer.luaran-reviewer', encrypt($record->proposal_id)) . '" class="btn btn-primary btn-sm waves-effect waves-light" role="button" target="_blank">Review <i class="fas fa-search"></i></a>';
$produk_akhir = is_null($record->produk_akhir) ? '<span class="badge bg-danger>Produk Akhir belum diunggah</span>' : '<a href="' . $record->produk_akhir . '" class="btn btn-primary btn-sm waves-effect waves-light" role="button" target="_blank">Review <i class="fas fa-search"></i></a>';
$video = DaftarProposalMonev::where('proposal_id', $proposal_id)
->where('monev_internal_id', $monev_internal_id)
->pluck('url');
......@@ -265,6 +267,10 @@ class MonevProposalController extends Controller
<td>' . $laporan_kemajuan . '</td>
</tr>
<tr>
<th>Laporan Akhir</th>
<td>' . $laporan_akhir . '</td>
</tr>
<tr>
<th>Laporan Lainnya</th>
<td>' . $laporan_luaran . '</td>
</tr>
......
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