Commit ef7719823a52de7c215cfc20a0f6b9fdebe2a313
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !45
Showing
1 changed file
Show diff stats
src/js/controller.js
| ... | ... | @@ -159,7 +159,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 159 | 159 | nombreCliente: $scope.notaPedido.cliente.NOM, |
| 160 | 160 | cuitCliente: $scope.notaPedido.cliente.CUIT, |
| 161 | 161 | idProveedor: $scope.notaPedido.proveedor.COD, |
| 162 | - //idDomicilio: $scope.notaPedido.domicilio.id,TODO GUARDAR DOMICILIO ID | |
| 162 | + idDomicilio: $scope.notaPedido.domicilio.id, | |
| 163 | 163 | idCotizacion: $scope.notaPedido.cotizacion.ID, |
| 164 | 164 | idPrecioCondicion: $scope.notaPedido.idPrecioCondicion, |
| 165 | 165 | cotizacion: $scope.notaPedido.cotizacion.VENDEDOR, |
| ... | ... | @@ -412,9 +412,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 412 | 412 | size: 'lg', |
| 413 | 413 | resolve: { |
| 414 | 414 | filters: { |
| 415 | - /*TODO: al traer nota de pedido ya creada | |
| 416 | - obtener idDomicilio correctamente*/ | |
| 417 | - idDomicilio: $scope.notaPedido.domicilio.id, | |
| 415 | + idDomicilio: $scope.notaPedido.idDomicilio, | |
| 418 | 416 | idCliente: $scope.notaPedido.cliente.COD, |
| 419 | 417 | articulos: $scope.articulosTabla, |
| 420 | 418 | puntosDescarga: $scope.notaPedido.puntosDescarga |