From 742ebc893220dc9b7f840e9ef55f3b6566d44187 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 17 Jan 2018 06:05:51 +0000 Subject: [PATCH] null value dashboard --- application/controllers/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }