Commit 5fe1b24a by Novan Bagus Setiawan

tambah fakultas

parent 844637fa
......@@ -90,7 +90,7 @@ class DaftarProposalController extends Controller
// $totalRecords = DaftarProposal::select('count(1) as allcount')->whereRaw($statementGlobal)->count();
$totalRecords = collect(DB::select("select 1 as allcount from vw_daftar_proposal('".$statementGlobal."') "))->count();
$statement = " AND (UPPER(JUDUL) LIKE ''%".$searchValue."%'' OR UPPER(IDENTITAS_DOSPEM) LIKE ''%".$searchValue."%'') ";
$statement = " AND STATUS != ''2'' AND (UPPER(JUDUL) LIKE ''%".$searchValue."%'' OR UPPER(IDENTITAS_DOSPEM) LIKE ''%".$searchValue."%'') ";
// $totalRecordswithFilter = DaftarProposal::select('count(1) as allcount')->whereRaw($statementGlobal.$statement)->count();
$totalRecordswithFilter = collect(DB::select("select 1 as allcount from vw_daftar_proposal('".$statementGlobal.$statement."') "))->count();
......@@ -127,6 +127,8 @@ class DaftarProposalController extends Controller
$nilai_2 = $record->nilai_2;
$rata = $record->rata;
$ketua = explode('###', $record->identitas_ketua);
// $nilai_1= DB::select("select ambil_jumlah_penilaian_seleksi('".$reviewer_proposal_id_1."', '".$record->jenis_id."')")[0]->ambil_jumlah_penilaian_seleksi;
// $nilai_2= DB::select("select ambil_jumlah_penilaian_seleksi('".$reviewer_proposal_id_2."', '".$record->jenis_id."')")[0]->ambil_jumlah_penilaian_seleksi;
......@@ -219,7 +221,7 @@ class DaftarProposalController extends Controller
$data_arr[] = array(
"proposal_id" => $proposal_id,
"kode" => $kode,
"kode" => $kode.'<br>'.$ketua[2]??'',
"jenis_pkm" => $pil_jenis_pkm,
"judul" => $judul,
"dospem" => $dospem,
......
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