update
parent
daa639749a
commit
efb1384f15
|
|
@ -108,7 +108,7 @@ class KuesionerController extends Controller
|
|||
$status = '<span class="badge bg-primary text-white">Terbit SK</span>';
|
||||
}else{
|
||||
$log = KuesionerLog::where('kuesioner_id',$row->KuesionerId)->orderBy('created_at','DESC')->first();
|
||||
$status = '<span class="badge bg-warning-light text-warning">'.str_replace('_',' ',\Str::title($log->step)).'</span>';
|
||||
$status = '<span class="badge bg-warning text-white">'.str_replace('_',' ',\Str::title($log->step)).'</span>';
|
||||
}
|
||||
|
||||
$sekolah = '';
|
||||
|
|
@ -116,6 +116,7 @@ class KuesionerController extends Controller
|
|||
$sekolah .= '<span class="badge bg-success-light text-success">'.@$row->profile->tingkat->name.'</span> ';
|
||||
$sekolah .= '<span class="badge bg-primary-light text-primary mt-1">'.@$row->profile->status_sekolah.'</span> ';
|
||||
$sekolah .= '<span class="badge bg-secondary text-secondary text-left mt-1">'.@$row->profile->alamat_sekolah.'</span> ';
|
||||
$sekolah .= '<span style="width:100%" class="badge bg-success-light text-success">Level '.levelAdiwiyata($row->npsn).'</span>';
|
||||
|
||||
$_data[] = [
|
||||
'no' => $key+1,
|
||||
|
|
@ -131,7 +132,7 @@ class KuesionerController extends Controller
|
|||
'tahun' => $row->tahun,
|
||||
'alamat_sekolah' => $row->profile->alamat_sekolah,
|
||||
'penghargaan' => $penghargaan,
|
||||
'status' => kuesionerLogStatus($row->KuesionerId).'<br> <br>'.$labelDok,
|
||||
'status' => kuesionerLogStatus($row->KuesionerId).'<br>'.$labelDok,
|
||||
'action' => $action,
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
<th data-field="action">#</th>
|
||||
<th data-field="no">No</th>
|
||||
<th data-field="tahun">Tahun</th>
|
||||
<th data-field="status_level">Status Level</th>
|
||||
{{-- <th data-field="status_level">Status Level</th> --}}
|
||||
<th data-field="npsn">NPSN</th>
|
||||
<th data-field="nama">Nama Sekolah</th>
|
||||
<th data-field="wilayah">Wilayah</th>
|
||||
|
|
|
|||
Loading…
Reference in New Issue