Commit 1491e9207c3fc0ae39431264abeb2f9ffa23bdd9
1 parent
01cfa4fe4b
Exists in
master
and in
1 other branch
changes
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -137,7 +137,7 @@ angular.module('focaModalDetalleCisternas') |
137 | 137 | if (!aCargar || cisterna.disabled) { |
138 | 138 | continue; |
139 | 139 | } |
140 | - | |
140 | + | |
141 | 141 | //cargar |
142 | 142 | if (cisterna.cisternaCarga.cantidad) { |
143 | 143 | cisterna.cisternaCarga.cantidad += aCargar; |
... | ... | @@ -204,7 +204,7 @@ angular.module('focaModalDetalleCisternas') |
204 | 204 | |
205 | 205 | $scope.actualizarArticulo = function() { |
206 | 206 | $scope.articuloSeleccionado.cantidadCargada = 0; |
207 | - for(var i = 0; i < $scope.aCargar.length; i++) { | |
207 | + for (var i = 0; i < $scope.aCargar.length; i++) { | |
208 | 208 | if (!$scope.cisternas[i].disabled) { |
209 | 209 | |
210 | 210 | $scope.articuloSeleccionado.cantidadCargada += |
... | ... | @@ -218,7 +218,7 @@ angular.module('focaModalDetalleCisternas') |
218 | 218 | var arrayMismoProducto = []; |
219 | 219 | var arrayVacioProducto = []; |
220 | 220 | |
221 | - for(var i = 0; i < $scope.cisternas.length; i++) { | |
221 | + for (var i = 0; i < $scope.cisternas.length; i++) { | |
222 | 222 | var cisterna = $scope.cisternas[i]; |
223 | 223 | cisterna.posicion = i; |
224 | 224 | console.info(i, cisterna.posicion); |