Fix delete professor not reloading issue, total lecture day issue
This commit is contained in:
@@ -68,8 +68,8 @@
|
||||
<label for="telefono">Número de Teléfono</label>
|
||||
<input type="telefono" class="form-control"
|
||||
name="telefono" ng-model="vm.profesor.Telefono"
|
||||
ng-pattern="/\d{4}-\d{3}-\d{4}/" maxlength="13"
|
||||
placeholder="0424-123-9876"/>
|
||||
ng-pattern="/\d{4}-\d{7}/" maxlength="13"
|
||||
placeholder="0424-1239876"/>
|
||||
<small class="error"
|
||||
ng-show="vm.data_input_form.telefono.$error.pattern">
|
||||
El Formato del Número de Teléfono es incorrecto.
|
||||
|
@@ -102,7 +102,7 @@
|
||||
};
|
||||
|
||||
$scope.ok = function (urlLo) {
|
||||
$state.go('ProfessorList');
|
||||
$state.reload();
|
||||
$scope.modalInstance.dismiss('cancel');
|
||||
};
|
||||
|
||||
|
@@ -32,6 +32,7 @@
|
||||
function (value){
|
||||
angular.forEach (value.students,
|
||||
function (valued){
|
||||
vm.lectures = valued.assistance;
|
||||
angular.forEach (valued.assistanceTotal,
|
||||
function (valueda){
|
||||
if (valueda.assistance) {
|
||||
|
@@ -30,8 +30,10 @@
|
||||
|
||||
angular.forEach (vm.section.students,
|
||||
function (value){
|
||||
vm.lectures = value.assistance;
|
||||
angular.forEach (value.assistanceTotal,
|
||||
function (valued){
|
||||
|
||||
if (valued.assistance) {
|
||||
vm.positive++;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user