Commit 5698c1caf2b75c25b9e88d5e1d8cd489dabfa143
1 parent
19736cccf7
Exists in
master
Arreglo en foreach al seleccionar un remito.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -279,7 +279,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
279 | 279 | ); |
280 | 280 | modalInstance.result.then(function(remito) { |
281 | 281 | |
282 | - remito.remito.articulosRemito.forEach(function (articulo) { | |
282 | + remito.articulosRemito.forEach(function (articulo) { | |
283 | 283 | articulo.precio = |
284 | 284 | (articulo.precio / remito.cotizacion.VENDEDOR).toFixed(4); |
285 | 285 | }); |