server updated 11-10-2022

This commit is contained in:
e.arrahn
2022-10-11 15:56:15 +08:00
parent f7a0ab3710
commit 20bb2e3a9d
@@ -2765,6 +2765,8 @@ class AdminPageController extends Controller
${"tempoh".$i."count"} = ${"tempoh".$i}->where('tempoh','>',12)->count();
}else if($i == 1){
${"tempoh".$i."count"} = ${"tempoh".$i}->where([['tempoh','>',0],['tempoh','<=',1.5]])->count();
}else if($i == 12){
${"tempoh".$i."count"} = ${"tempoh".$i}->where([['tempoh','>=',$i],['tempoh','<=',$i]])->count();
}else{
${"tempoh".$i."count"} = ${"tempoh".$i}->where([['tempoh','>',$i-(0.5)],['tempoh','<=',$i+(0.5)]])->count();
}