Commit 27fe4564 by peema_phongam

sum score inteview_dept

parent 3403897d
...@@ -89,7 +89,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc ...@@ -89,7 +89,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
result += parseInt(form.score) result += parseInt(form.score)
} }
} }
return result; return (result / 50).toFixed(2)
} }
$scope.getSumScoreByScore = (score) => { $scope.getSumScoreByScore = (score) => {
...@@ -102,7 +102,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc ...@@ -102,7 +102,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
} }
} }
} }
return result; return (result / 50).toFixed(2)
} }
$scope.addComment = () => { $scope.addComment = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment