update nilai RM
This commit is contained in:
parent
3f4e4990c6
commit
1aee7f91f3
|
@ -69,9 +69,9 @@ public function store(Request $request)
|
||||||
|
|
||||||
$rmTotal = $totalsPerGroup[4] + $totalsPerGroup[5] + $totalsPerGroup[6] + $totalsPerGroup[7] + $totalsPerGroup[8];
|
$rmTotal = $totalsPerGroup[4] + $totalsPerGroup[5] + $totalsPerGroup[6] + $totalsPerGroup[7] + $totalsPerGroup[8];
|
||||||
$rmClass = null;
|
$rmClass = null;
|
||||||
if ($rmTotal >= 63) {
|
if ($rmTotal >= 132) {
|
||||||
$rmClass = 'High';
|
$rmClass = 'High';
|
||||||
} else if ($rmTotal >= 42) {
|
} else if ($rmTotal >= 88) {
|
||||||
$rmClass = 'Medium';
|
$rmClass = 'Medium';
|
||||||
} else {
|
} else {
|
||||||
$rmClass = 'Low';
|
$rmClass = 'Low';
|
||||||
|
|
Loading…
Reference in New Issue