Fix student assistance calculation
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
vm.total = vm.positive + vm.negative;
|
vm.total = vm.positive + vm.negative;
|
||||||
vm.percentage = ((vm.positive/vm.total)/vm.lectures)*100;
|
vm.percentage = (vm.positive/vm.total)*100;
|
||||||
},
|
},
|
||||||
function (){
|
function (){
|
||||||
console.log("Error al obtener los datos.");
|
console.log("Error al obtener los datos.");
|
||||||
|
Reference in New Issue
Block a user