Commit 679959fa5e305115bc7d4603cb6c08e6abd7b87a
1 parent
b2ec2fc6a4
Exists in
master
Borrado de espacios.
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -253,8 +253,7 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl', |
| 253 | 253 | $scope.seleccionarProductos = function () { |
| 254 | 254 | |
| 255 | 255 | if ($scope.idLista === undefined) { |
| 256 | - focaModalService.alert( | |
| 257 | - 'Primero seleccione una lista de precio y condicion'); | |
| 256 | + focaModalService.alert('Primero seleccione una lista de precio y condicion'); | |
| 258 | 257 | return; |
| 259 | 258 | } else if (!validarNotaRemitada()) { |
| 260 | 259 | return; |
| ... | ... | @@ -655,7 +654,7 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl', |
| 655 | 654 | $scope.idLista = precioCondicion.listaPrecio.ID; |
| 656 | 655 | for (var i = 0; i < precioCondicion.plazoPago.length; i++) { |
| 657 | 656 | plazosConcat += precioCondicion.plazoPago[i].dias + ', '; |
| 658 | - } | |
| 657 | + } | |
| 659 | 658 | plazosConcat = plazosConcat.substring(0, plazosConcat.length - 2); |
| 660 | 659 | cabecera = $filter('rellenarDigitos')(parseInt(precioCondicion.listaPrecio.ID), 4) + |
| 661 | 660 | ' - ' + precioCondicion.listaPrecio.DES + ' ' + plazosConcat.trim(); |