Commit d80e5b7487e4401f7a1fd3818eb19bc0a8996375

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master(mpuebla)

See merge request !94
src/js/controller.js
... ... @@ -656,8 +656,8 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl',
656 656 for (var i = 0; i < precioCondicion.plazoPago.length; i++) {
657 657 plazosConcat += precioCondicion.plazoPago[i].dias + ', ';
658 658 }
659   - var plazosConcat = plazosConcat.substring(0, plazosConcat.length - 2);
660   - cabecera = $filter('rellenarDigitos')(precioCondicion.listaPrecio.ID, 4) +
  659 + plazosConcat = plazosConcat.substring(0, plazosConcat.length - 2);
  660 + cabecera = $filter('rellenarDigitos')(parseInt(precioCondicion.listaPrecio.ID), 4) +
661 661 ' - ' + precioCondicion.listaPrecio.DES + ' ' + plazosConcat.trim();
662 662 } else { //Cuando se ingresan los plazos manualmente
663 663 $scope.notaPedido.idPrecioCondicion = 0;