Commit a7842531 by Alfiro Pratama

Fix proposal dosen

parent afd2f461
......@@ -35,9 +35,9 @@ class ProposalController extends Controller
$proposal = Proposal::with(['rKelompok', 'rJenis', 'rDaftarPro'])
->whereHas('rKelompok', function ($query) use($bio){
$query->where('nidn_dosen', $bio->noidentitas);
$query->where('nidn_dosen', $bio->noidentitas)
->whereRaw('LOWER(nama_dosen) = ?', [strtolower($bio->name)]);
})
->whereRaw('LOWER(nama_dosen) = ?', [strtolower($bio->name)])
->whereYear('created_at', $year)
->orderBy('kelompok_id')
->get();
......
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