revisi penilaian, input dana admin, show pendanaan seleksi internal

parent ad4df270
......@@ -117,7 +117,16 @@ class DaftarSeleksiController extends Controller
->take($rowperpage);
$reviewer = Reviewer::query()->where('id_sdm', $noidentitas)->first();
$reviewerProposal = ReviewerProposal::query()->whereIn('proposal_id', $records->pluck('proposal_id'))->where('reviewer_id', $reviewer->reviewer_id)->get()->keyBy('proposal_id');
// $reviewerProposal = ReviewerProposal::query()->whereIn('proposal_id', $records->pluck('proposal_id'))->where('reviewer_id', $reviewer->reviewer_id)->get()->keyBy('proposal_id');
$reviewerProposal = ReviewerProposal::query()
->whereIn('proposal_id', $records->pluck('proposal_id'))
->whereHas('reviewer', function($query) use ($noidentitas){
return $query->wherehas('biodata', function($query) use ($noidentitas){
return $query->where('noidentitas', $noidentitas);
});
})
->get()
->keyBy('proposal_id');
$data_arr = array();
$hitung = 1;
......
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