Commit e0b518c8 authored by Isa Asanu's avatar Isa Asanu

force ignore var DaerahController

parent cec23d3d
......@@ -169,12 +169,11 @@ public function __construct()
}else{
$kelas = $this->mPerpusKelasKode->with('kelas')->with('jurusan')->where('idPSekolah', session()->get('idPSekolah'))->get()->toArray();
}
// echo json_encode($kelas); die;
$dataAnyar = array_map(function($kk) {
return [
'id' => $kk['id'],
'nama' => $kk['kelas']['nama'].' '.$kk['jurusan']['nama'].' '.$kk['nama'],
'nama' => @$kk['kelas']['nama'].' '.@$kk['jurusan']['nama'].' '.@$kk['nama'],
];
}, $kelas);
......
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