Commit 99cd18ee59b83c9f0b0aabc1aa015d045aeb32b5
1 parent
359d51a957
Exists in
master
and in
1 other branch
espacio
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/controllerCisterna.js
... | ... | @@ -104,10 +104,10 @@ angular.module('focaAbmVehiculo') |
104 | 104 | |
105 | 105 | //SI EL TOTAL DE CAPACIDAD DE CISTERNAS ES MAYOR QUE LA DEL VEHICULO |
106 | 106 | totalCargado = totalCargado + parseInt($scope.cisterna.capacidad); |
107 | - if(totalCargado > $scope.capacidadVechiulo){ | |
107 | + if(totalCargado > $scope.capacidadVechiulo) { | |
108 | 108 | reject('La capacidad total de las cisternas' + |
109 | 109 | ' debe ser menor o igual a la del vehiculo'); |
110 | - } else { | |
110 | + }else { | |
111 | 111 | resolve(); |
112 | 112 | } |
113 | 113 | }); |