Commit 7aa10285419a727a58ce3b9f61c508ea0733d0a8
Exists in
master
and in
2 other branches
Merge branch 'master' into 'develop'
Master(mpuebla) See merge request !25
Showing
1 changed file
Show diff stats
src/js/controller.js
| ... | ... | @@ -19,7 +19,6 @@ angular.module('focaHojaRuta') |
| 19 | 19 | function init() { |
| 20 | 20 | hojaRutaService.getHojaRuta(loginData.chofer) |
| 21 | 21 | .then(function (res) { |
| 22 | - console.log(res.data); | |
| 23 | 22 | abrilModalHojasDeRuta(res.data); |
| 24 | 23 | }); |
| 25 | 24 | } |
| ... | ... | @@ -70,7 +69,9 @@ angular.module('focaHojaRuta') |
| 70 | 69 | } |
| 71 | 70 | ); |
| 72 | 71 | modalInstance.result |
| 73 | - .then(function (data) { console.log(data); }) | |
| 72 | + .then(function () { | |
| 73 | + // console.log(data); | |
| 74 | + }) | |
| 74 | 75 | .catch(function (e) { console.info(e); }); |
| 75 | 76 | }; |
| 76 | 77 | $scope.salir = function () { |
| ... | ... | @@ -140,8 +141,8 @@ angular.module('focaHojaRuta') |
| 140 | 141 | }, |
| 141 | 142 | } |
| 142 | 143 | ); |
| 143 | - modalInstance.result.then(function (data) { | |
| 144 | - console.log(data); | |
| 144 | + modalInstance.result.then(function () { | |
| 145 | + // console.log(data); | |
| 145 | 146 | }); |
| 146 | 147 | }; |
| 147 | 148 | $scope.articulosDescargados = function (articulosRemito) { |