Commit 4309473933e021fc9f11c1d76f82f7f7d455086d
Exists in
master
Merge branch 'master' into 'master'
Master See merge request !44
Showing
2 changed files
Show diff stats
src/js/controller.js
| ... | ... | @@ -168,6 +168,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 168 | 168 | bomba: $scope.notaPedido.bomba, |
| 169 | 169 | kilometros: $scope.notaPedido.kilometros, |
| 170 | 170 | domicilioStamp: $scope.notaPedido.domicilioStamp, |
| 171 | + observaciones: $scope.notaPedido.observaciones, | |
| 171 | 172 | estado: 0, |
| 172 | 173 | total: $scope.getTotal() |
| 173 | 174 | }; |
| ... | ... | @@ -743,6 +744,14 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 743 | 744 | } |
| 744 | 745 | }; |
| 745 | 746 | |
| 747 | + $scope.seleccionarObservaciones = function() { | |
| 748 | + focaModalService | |
| 749 | + .prompt('Ingrese observaciones', $scope.notaPedido.observaciones, true) | |
| 750 | + .then(function(observaciones) { | |
| 751 | + $scope.notaPedido.observaciones = observaciones; | |
| 752 | + }); | |
| 753 | + }; | |
| 754 | + | |
| 746 | 755 | $scope.abrirModalCotizacion = function(moneda) { |
| 747 | 756 | var modalInstance = $uibModal.open( |
| 748 | 757 | { |