Commit cc894cdd0e2309f5788e55685efa896a80305971
1 parent
a7e2d288f8
Exists in
master
and in
1 other branch
Arreglo de espacios
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -587,7 +587,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 587 | 587 | focaModalService.alert('Primero seleccione un cliente'); |
| 588 | 588 | return; |
| 589 | 589 | } |
| 590 | - if(validarNotaRemitada()) { | |
| 590 | + if (validarNotaRemitada()) { | |
| 591 | 591 | var modalInstance = $uibModal.open( |
| 592 | 592 | { |
| 593 | 593 | ariaLabelledBy: 'Busqueda de Precio Condición', |
| ... | ... | @@ -895,21 +895,21 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 895 | 895 | |
| 896 | 896 | notaPedidoBusinessService.calcularArticulos($scope.notaPedido.articulosNotaPedido, |
| 897 | 897 | notaPedido.cotizacion.VENDEDOR); |
| 898 | - | |
| 898 | + | |
| 899 | 899 | if (notaPedido.idPrecioCondicion > 0) { |
| 900 | 900 | $scope.idLista = notaPedido.precioCondicion.idListaPrecio; |
| 901 | 901 | } else { |
| 902 | 902 | $scope.idLista = -1; |
| 903 | 903 | } |
| 904 | - | |
| 904 | + | |
| 905 | 905 | $scope.puntoVenta = $filter('rellenarDigitos')( |
| 906 | 906 | notaPedido.sucursal, 4 |
| 907 | 907 | ); |
| 908 | - | |
| 908 | + | |
| 909 | 909 | $scope.comprobante = $filter('rellenarDigitos')( |
| 910 | 910 | notaPedido.numeroNotaPedido, 8 |
| 911 | 911 | ); |
| 912 | - | |
| 912 | + | |
| 913 | 913 | $scope.notaPedido.notaPedidoPuntoDescarga = |
| 914 | 914 | formatearPuntosDescarga(notaPedido.notaPedidoPuntoDescarga || []); |
| 915 | 915 | addArrayCabecera(cabeceras); |