Commit 6f6782279159843a3585a21fed28690032632c04
Exists in
master
and in
2 other branches
Merge branch 'master' into 'develop'
Master(mpuebla) See merge request !85
Showing
1 changed file
Show diff stats
src/js/controller.js
| ... | ... | @@ -697,8 +697,8 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 697 | 697 | for (var i = 0; i < precioCondicion.plazoPago.length; i++) { |
| 698 | 698 | plazosConcat += precioCondicion.plazoPago[i].dias + ', '; |
| 699 | 699 | } |
| 700 | - var plazosConcat = plazosConcat.substring(0, plazosConcat.length - 2); | |
| 701 | - cabecera = $filter('rellenarDigitos')(precioCondicion.id, 4) + | |
| 700 | + plazosConcat = plazosConcat.substring(0, plazosConcat.length - 2); | |
| 701 | + cabecera = $filter('rellenarDigitos')(parseInt(precioCondicion.listaPrecio.ID), 4) + | |
| 702 | 702 | ' - ' + precioCondicion.listaPrecio.DES + ' ' + plazosConcat.trim(); |
| 703 | 703 | } else { //Cuando se ingresan los plazos manualmente |
| 704 | 704 | $scope.remito.idPrecioCondicion = 0; |