Commit 78ff0e46100f4f2843c7eca6dd95e5f2f83d1822
1 parent
99532cb1a9
Exists in
master
nuevos campos para guardado de detalles correctamente
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -377,7 +377,8 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
377 | 377 | editCantidad: false, |
378 | 378 | editPrecio: false, |
379 | 379 | rubro: producto.CodRub, |
380 | - exentoUnitario: producto.precio, | |
380 | + netoUnitario: producto.neto, | |
381 | + exentoUnitario: producto.exento, | |
381 | 382 | ivaUnitario: producto.IMPIVA, |
382 | 383 | impuestoInternoUnitario: producto.ImpInt, |
383 | 384 | impuestoInterno1Unitario: producto.ImpInt2, |
... | ... | @@ -385,7 +386,8 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
385 | 386 | precioLista: producto.precio, |
386 | 387 | combustible: 1, |
387 | 388 | facturado: 0, |
388 | - idArticulo: producto.id | |
389 | + idArticulo: producto.id, | |
390 | + tasaIva: producto.tasaIVA | |
389 | 391 | }; |
390 | 392 | $scope.articuloACargar = newArt; |
391 | 393 | $scope.cargando = false; |