Skip to content

Commit

Permalink
Update: Perbaikan cetak rapor p5
Browse files Browse the repository at this point in the history
  • Loading branch information
masadi committed Jun 11, 2024
1 parent 8b16759 commit e9f51e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Http/Controllers/CetakController.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ public function rapor_p5($anggota_rombel_id){
$params = array(
'semester' => Semester::find(request()->route('semester_id')),
'get_siswa' => $get_siswa,
'rencana_budaya_kerja' => Rencana_budaya_kerja::where('rombongan_belajar_id', $get_siswa->rombongan_belajar_id)
'rencana_budaya_kerja' => Rencana_budaya_kerja::withWhereHas('pembelajaran', function($query){
$query->has('induk');
})->where('rombongan_belajar_id', $get_siswa->rombongan_belajar_id)
->with([
'aspek_budaya_kerja' => function($query) use ($anggota_rombel_id){
$query->with([
Expand Down

0 comments on commit e9f51e0

Please sign in to comment.