main
ilhamwara 2025-07-08 09:06:37 +07:00
parent 0ba35bd4b1
commit cfef5b139a
1 changed files with 16 additions and 12 deletions

View File

@ -557,7 +557,7 @@ if (!function_exists('hitungSkor')) {
$skor = 1; $skor = 1;
} }
}elseif($key == 'kegiatan_kampanye'){ }elseif($key == 'kegiatan_kampanye'){
dd($val); if(is_array($val)){
if(count($val) >= 5){ if(count($val) >= 5){
$skor = 5; $skor = 5;
}elseif(count($val) == 4){ }elseif(count($val) == 4){
@ -571,6 +571,10 @@ if (!function_exists('hitungSkor')) {
}else{ }else{
$skor = 0; $skor = 0;
} }
}else{
$skor = 1;
}
}elseif($key == 'media'){ }elseif($key == 'media'){
if(count($val) >= 5){ if(count($val) >= 5){
$skor = 3; $skor = 3;