Commit 326181fb by Alfiro Pratama

Daftar Nilai Proposal (Reviewer)

parent 5515348e
......@@ -25,6 +25,7 @@ use App\Models\JenisMonev;
use App\Models\MonevInternal;
use App\Models\ReviewerProposalDetil;
use Illuminate\Support\Facades\Log;
use Exception;
class DaftarSeleksiController extends Controller
{
......@@ -137,9 +138,14 @@ class DaftarSeleksiController extends Controller
$jenis_pkm = $record->jenis_pkm;
$judul = $record->judul;
$nilai_1= DB::select("select ambil_jumlah_penilaian_seleksi('".$record->reviewer_proposal_id_1."')")[0]->ambil_jumlah_penilaian_seleksi;
$nilai_2= DB::select("select ambil_jumlah_penilaian_seleksi('".$record->reviewer_proposal_id_2."')")[0]->ambil_jumlah_penilaian_seleksi;
$nilai_1 = 0;
if ($record->reviewer_proposal_id_1 != NULL) {
$nilai_1 = DB::select("select ambil_jumlah_penilaian_seleksi('".$record->reviewer_proposal_id_1."')")[0]->ambil_jumlah_penilaian_seleksi;
}
$nilai_2 = 0;
if ($record->reviewer_proposal_id_2 != NULL) {
$nilai_2 = DB::select("select ambil_jumlah_penilaian_seleksi('".$record->reviewer_proposal_id_2."')")[0]->ambil_jumlah_penilaian_seleksi;
}
$url = "https://statik.unesa.ac.id/simpmw/proposal/".$record->periode."/".$record->upload_dokumen;
......
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