update nilai RM

This commit is contained in:
raditya09 2023-11-07 08:32:33 +07:00
parent 3f4e4990c6
commit 1aee7f91f3
1 changed files with 2 additions and 2 deletions

View File

@ -69,9 +69,9 @@ public function store(Request $request)
$rmTotal = $totalsPerGroup[4] + $totalsPerGroup[5] + $totalsPerGroup[6] + $totalsPerGroup[7] + $totalsPerGroup[8];
$rmClass = null;
if ($rmTotal >= 63) {
if ($rmTotal >= 132) {
$rmClass = 'High';
} else if ($rmTotal >= 42) {
} else if ($rmTotal >= 88) {
$rmClass = 'Medium';
} else {
$rmClass = 'Low';