Commit 0fb9e9af2f550dafd52d9de3eb2551d9dc385415
1 parent
bd0491de7f
Exists in
master
and in
1 other branch
no es necesario parsear
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -146,10 +146,10 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 146 | 146 | idCliente: $scope.notaPedido.cliente.id, |
| 147 | 147 | idProveedor: $scope.notaPedido.proveedor.codigo, |
| 148 | 148 | idDomicilio: $scope.notaPedido.domicilio.id, |
| 149 | - idCotizacion: $scope.notaPedido.cotizacion.id, | |
| 150 | - flete: $scope.notaPedido.flete ? 1 : 0, | |
| 151 | - fob: $scope.notaPedido.fob ? 1 : 0, | |
| 152 | - bomba: $scope.notaPedido.bomba ? 1 : 0, | |
| 149 | + idCotizacion: $scope.notaPedido.cotizacion.ID, | |
| 150 | + flete: $scope.notaPedido.flete, | |
| 151 | + fob: $scope.notaPedido.fob, | |
| 152 | + bomba: $scope.notaPedido.bomba, | |
| 153 | 153 | kilometros: $scope.notaPedido.kilometros, |
| 154 | 154 | total: $scope.getTotal() |
| 155 | 155 | }; |