Commit 3eae97634eef554862a6796c6d66a354442a981e
1 parent
b9513452f3
Exists in
master
Borrado console.log
Showing
1 changed file
with
2 additions
and
3 deletions
 
Show diff stats
src/js/controller.js
| ... | ... | @@ -33,7 +33,6 @@ angular.module('focaHojaRuta') | 
| 33 | 33 | $scope.showLoading = false; | 
| 34 | 34 | focaModalService.modal(parametrosModalHojasDeRuta(hojasDeRuta)) | 
| 35 | 35 | .then(function (hojaRuta) { | 
| 36 | - console.log(hojaRuta); | |
| 37 | 36 | if (hojaRuta) { | 
| 38 | 37 | $scope.hojaRuta = hojaRuta; | 
| 39 | 38 | $scope.puntoVenta = hojaRuta.sucursal; | 
| ... | ... | @@ -51,7 +50,7 @@ angular.module('focaHojaRuta') | 
| 51 | 50 | // } | 
| 52 | 51 | }) | 
| 53 | 52 | .catch(function (e) { | 
| 54 | - console.log(e); | |
| 53 | + console.info(e); | |
| 55 | 54 | $location.path('/'); | 
| 56 | 55 | }); | 
| 57 | 56 | } | 
| ... | ... | @@ -84,7 +83,7 @@ angular.module('focaHojaRuta') | 
| 84 | 83 | .confirm('¿Desea terminar la hoja de ruta? No podra realizar ninguna ' + | 
| 85 | 84 | 'otra descarga ni modificación') | 
| 86 | 85 | .then(function () { $scope.datosExtraCierre(terminar); }) | 
| 87 | - .catch(function (e) { console.log('Modal ', e); }); | |
| 86 | + .catch(function (e) { console.info('Modal ', e); }); | |
| 88 | 87 | function terminar(datosExtraCierre) { | 
| 89 | 88 | $scope.hojaRuta = angular.extend({}, $scope.hojaRuta, datosExtraCierre); | 
| 90 | 89 | //limpio objeto para guardar |