main
Ilham Wara Nugroho 2026-03-04 14:03:49 +07:00
parent f1d94640ba
commit 9b2348df54
1 changed files with 6 additions and 3 deletions

View File

@ -288,10 +288,13 @@ class HomeController extends Controller
$sekolah = ''; $sekolah = '';
$sekolah .= @$row->sekolah->nama_sekolah.'<br>'; $sekolah .= @$row->sekolah->nama_sekolah.'<br>';
$sekolah .= '<div class="d-flex gap-1">';
$sekolah .= '<span class="badge bg-info-light text-info">'.@$row->sekolah->npsn.'</span>&nbsp;';
$sekolah .= '<span class="badge bg-success-light text-success">'.@$row->profile->tingkat->name.'</span>&nbsp;'; $sekolah .= '<span class="badge bg-success-light text-success">'.@$row->profile->tingkat->name.'</span>&nbsp;';
$sekolah .= '<span class="badge bg-primary-light text-primary mt-1">'.@$row->profile->status_sekolah.'</span>&nbsp;'; $sekolah .= '<span class="badge bg-primary-light text-primary">'.@$row->profile->status_sekolah.'</span>&nbsp;';
$sekolah .= '<div>';
$sekolah .= '<span class="badge bg-secondary text-secondary text-left mt-1">'.@$row->profile->alamat_sekolah.'</span>&nbsp;'; $sekolah .= '<span class="badge bg-secondary text-secondary text-left mt-1">'.@$row->profile->alamat_sekolah.'</span>&nbsp;';
$sekolah .= '<span class="badge text-left mt-1">'.@$row->sekolah->npsn.'</span>&nbsp;';
$_data[] = [ $_data[] = [
'no' => $key+1, 'no' => $key+1,