update
parent
0f6c67db75
commit
d2d1c7250d
|
|
@ -175,6 +175,14 @@ class KriteriaController extends Controller
|
||||||
$skor = hitungSkor(str_replace('input_','',$key),$value,@$data['input_lainnya']);
|
$skor = hitungSkor(str_replace('input_','',$key),$value,@$data['input_lainnya']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(@$request['sekolah']){
|
||||||
|
$idSekolah = decode_id(@$request['sekolah']);
|
||||||
|
$sekolah = Sekolah::find($idSekolah);
|
||||||
|
}else{
|
||||||
|
$idSekolah = session('sekolah_id');
|
||||||
|
$sekolah = Sekolah::find($idSekolah);
|
||||||
|
}
|
||||||
|
|
||||||
if(session('group_alias') == 'sekolah'){
|
if(session('group_alias') == 'sekolah'){
|
||||||
$status = 0;
|
$status = 0;
|
||||||
$reload = false;
|
$reload = false;
|
||||||
|
|
@ -188,13 +196,7 @@ class KriteriaController extends Controller
|
||||||
$reload = (count(@$penilaian) == count(@$page) ? true : false);
|
$reload = (count(@$penilaian) == count(@$page) ? true : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(@$request['sekolah']){
|
|
||||||
$idSekolah = decode_id(@$request['sekolah']);
|
|
||||||
$sekolah = Sekolah::find($idSekolah);
|
|
||||||
}else{
|
|
||||||
$idSekolah = session('sekolah_id');
|
|
||||||
$sekolah = Sekolah::find($idSekolah);
|
|
||||||
}
|
|
||||||
|
|
||||||
// dd(request()->all());
|
// dd(request()->all());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue