diff --git a/app/Http/Controllers/SampahController.php b/app/Http/Controllers/SampahController.php index 1a1183b..e3c04f7 100644 --- a/app/Http/Controllers/SampahController.php +++ b/app/Http/Controllers/SampahController.php @@ -71,8 +71,8 @@ class SampahController extends Controller $sekolah .= @$row->sekolah->nama_sekolah.'
'; $sekolah .= '
'; $sekolah .= ''.@$row->sekolah->npsn.' '; - $sekolah .= ''.@$row->sekolah->profile->tingkat->name.' '; - $sekolah .= ''.@$row->sekolah->profile->status_sekolah.' '; + $sekolah .= ''.@$row->sekolah->kabupaten->name.' '; + $sekolah .= ''.@$row->sekolah->kecamatan->name.' '; $sekolah .= '
'; $sekolah .= 'Level '.levelAdiwiyata($row->sekolah->npsn).''; // $sekolah .= ''.@$row->sekolah->profile->alamat_sekolah.' ';