Commit edc99bba0560fa1ee001b02f5f978719727c9487

Authored by Marcelo Puebla
1 parent 5698c1caf2
Exists in master and in 1 other branch develop

Correccion del campo idvendedor cuando se crea el remito.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -328,7 +328,7 @@ angular.module('focaCrearRemito').controller('remitoController',
328 328 cuitCliente: $scope.remito.cliente.CUIT,
329 329 total: $scope.getTotal() * $scope.remito.cotizacion.VENDEDOR,
330 330 numeroNotaPedido: $scope.remito.numeroNotaPedido,
331   - idVendedor: $scope.remito.vendedor.NUM,
  331 + idVendedor: parseInt($scope.remito.cliente.VEN),
332 332 idProveedor: $scope.remito.proveedor.COD,
333 333 idDomicilio: $scope.remito.idDomicilio || $scope.remito.domicilio.id,
334 334 idCotizacion: $scope.remito.cotizacion.ID,