Commit 8660dac6 by peema_phongam

mail celi score advance eng

parent d03b679c
......@@ -32,9 +32,8 @@ angular.module('myHR').controller('PreviewExam', ['$scope', '$http', '$mdDialog'
if ($scope.isDHASAdvanceEnglish) {
$scope.ABAC = 'N/A'
$scope.UTCC = 'N/A'
let score = $scope.question.getRealScore($scope.question.getQuestion())
let score = Math.ceil($scope.question.getRealScore($scope.question.getQuestion()))
let totalScore = (score) ? score : 0
totalScore = 50
switch (true) {
case (totalScore >= 0 && totalScore <= 44):
$scope.ABAC = 'F'
......
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