Commit a15e2cf0697fd6a8bbc52cf2c99b41fa1fa869b6
1 parent
dca2ba1af7
Exists in
master
Espacios
Showing
2 changed files
with
4 additions
and
3 deletions
 
Show diff stats
src/js/controller.js
| ... | ... | @@ -9,7 +9,7 @@ angular.module('focaModalPuntoDescarga') | 
| 9 | 9 | 'focaModalService', | 
| 10 | 10 | function($timeout, $filter, $scope, $uibModalInstance, | 
| 11 | 11 | focaModalPuntoDescargaService, filters, focaModalService) { | 
| 12 | - | |
| 12 | + | |
| 13 | 13 | $scope.cantidadArticulo = 0; | 
| 14 | 14 | $scope.articuloSeleccionado = 0; | 
| 15 | 15 | $scope.ivas = []; | 
| ... | ... | @@ -22,13 +22,13 @@ angular.module('focaModalPuntoDescarga') | 
| 22 | 22 | latitud: filters.domicilio.Latitud, | 
| 23 | 23 | longitud: filters.domicilio.Longitud | 
| 24 | 24 | }; | 
| 25 | - | |
| 25 | + | |
| 26 | 26 | $scope.articulos = angular.copy(filters.articulos); | 
| 27 | 27 | $scope.articulos.map(function(articulo) { | 
| 28 | 28 | articulo.restante = articulo.cantidad; | 
| 29 | 29 | }); | 
| 30 | 30 | actualizarTabla(); | 
| 31 | - cargarPuntos(filters.puntosDescarga); | |
| 31 | + cargarPuntos(filters.puntosDescarga); | |
| 32 | 32 | |
| 33 | 33 | $scope.cancel = function() { | 
| 34 | 34 | if ($scope.ingreso) { |