Commit 528ca995dc9d3cba25ea64c55da83c3830631664
1 parent
3885e069e9
Exists in
master
fix importe envía como string
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -15,9 +15,10 @@ angular.module('focaModalCheque') |
| 15 | 15 | focaModalChequeService.getVendedores().then(function(res) { |
| 16 | 16 | $scope.vendedores = res.data; |
| 17 | 17 | }); |
| 18 | - | |
| 18 | + | |
| 19 | 19 | $scope.aceptar = function() { |
| 20 | 20 | delete $scope.cheque.provincia.localidades; |
| 21 | + $scope.cheque.importe = parseFloat($scope.cheque.importe); | |
| 21 | 22 | $uibModalInstance.close($scope.cheque); |
| 22 | 23 | }; |
| 23 | 24 |