Commit cc9012ad by Novan Bagus Setiawan

set default 00000000-0000-0000-0000-000000000000 jika tidak ada reviewer_proposal_id_1

parent 02c7d40e
......@@ -120,10 +120,12 @@ class DaftarSeleksiController extends Controller
$kode = $record->kode;
$jenis_pkm = $record->jenis_pkm;
$judul = $record->judul;
$reviewer_proposal_id_1 = $record->reviewer_proposal_id_1??"00000000-0000-0000-0000-000000000000";
$reviewer_proposal_id_2 = $record->reviewer_proposal_id_2??"00000000-0000-0000-0000-000000000000";
$nilai_1= DB::select("select ambil_jumlah_penilaian_seleksi('".$record->reviewer_proposal_id_1."')")[0]->ambil_jumlah_penilaian_seleksi;
$nilai_1= DB::select("select ambil_jumlah_penilaian_seleksi('".$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_2= DB::select("select ambil_jumlah_penilaian_seleksi('".$reviewer_proposal_id_2."')")[0]->ambil_jumlah_penilaian_seleksi;
$url = "https://statik.unesa.ac.id/simpkm/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