diff --git a/application/controllers/user.php b/application/controllers/user.php index 237a0656..a9b5a8e6 100755 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -733,7 +733,7 @@ function dateFunctionChangeVales() $data['values'] = $totalwhhour; //$data['salaryInCurrentday'] = round($salaryInCurrentday); - $data['present_percentage'] = round(($totalwhhour / $month['CUR_month']) * 100); + $data['present_percentage'] = round(($totalwhhour / $data['CUR_month']) * 100); }