Commit 58131ab8b2b1e615b92b1158bc6d253c072026f3
1 parent
18f2b11219
Exists in
master
and in
1 other branch
Codigo identado.
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -358,7 +358,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 358 | 358 | }, |
| 359 | 359 | notaPedido: $scope.notaPedido |
| 360 | 360 | }; |
| 361 | - | |
| 361 | + | |
| 362 | 362 | crearRemitoService.crearRemito(save).then( |
| 363 | 363 | function (data) { |
| 364 | 364 | |
| ... | ... | @@ -494,9 +494,9 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 494 | 494 | } |
| 495 | 495 | ); |
| 496 | 496 | modalInstance.result.then( |
| 497 | - function(puntosDescarga) { | |
| 497 | + function (puntosDescarga) { | |
| 498 | 498 | |
| 499 | - puntosDescarga.forEach(function(punto) { | |
| 499 | + puntosDescarga.forEach(function (punto) { | |
| 500 | 500 | $scope.remito.remitoPuntoDescarga.push( |
| 501 | 501 | { |
| 502 | 502 | puntoDescarga: punto |
| ... | ... | @@ -604,7 +604,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 604 | 604 | $scope.$broadcast('addCabecera', { |
| 605 | 605 | label: 'Vendedor:', |
| 606 | 606 | valor: $filter('rellenarDigitos')($scope.remito.vendedor |
| 607 | - .NUM, 3) +' - ' + $scope.remito.vendedor.NOM | |
| 607 | + .NUM, 3) + ' - ' + $scope.remito.vendedor.NOM | |
| 608 | 608 | }); |
| 609 | 609 | } |
| 610 | 610 | var domicilioStamp = |
| ... | ... | @@ -1148,7 +1148,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 1148 | 1148 | if ($scope.remito.remitoPuntoDescarga.length) { |
| 1149 | 1149 | var puntoDescarga = []; |
| 1150 | 1150 | |
| 1151 | - $scope.remito.remitoPuntoDescarga.forEach(function(remitoPuntoDescarga) { | |
| 1151 | + $scope.remito.remitoPuntoDescarga.forEach(function (remitoPuntoDescarga) { | |
| 1152 | 1152 | puntoDescarga.push(remitoPuntoDescarga.puntoDescarga); |
| 1153 | 1153 | }); |
| 1154 | 1154 |