Commit f6ad6f4a205125e6ff2a7af5a2c848f5aebc8cd7

Authored by Luigi
1 parent 709e9364cd
Exists in master

idLista

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
src/js/controller.js
... ... @@ -683,14 +683,12 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl',
683 683 }
684 684 cabecera = 'Ingreso manual ' + plazosConcat.trim();
685 685 }
686   -
687 686 $scope.cabeceras.push({
688 687 label: 'Precios y Condiciones:',
689   - valor: parseInt(precioCondicion.listaPrecio.ID) +
690   - ' - ' + precioCondicion.listaPrecio.DES + ' ' +
  688 + valor: $scope.idLista + ' - ' + precioCondicion.listaPrecio.DES + ' ' +
691 689 notaPedidoBusinessService.plazoToString(precioCondicion.plazoPago)
692 690 });
693   - $scope.notaPedido.idListaPrecio = parseInt(precioCondicion.listaPrecio.ID);
  691 + $scope.notaPedido.idListaPrecio = $scope.idLista;
694 692  
695 693 $filter('filter')($scope.botonera,
696 694 { label: 'Precios y Condiciones' })[0].checked = true;