Commit 15f582c929d671bedf8123c04b97a84c8fe9f807

Authored by Marcelo Puebla
1 parent 9770525ee1
Exists in master

Borrado de console.log y promesa de productos sin uso.

Showing 1 changed file with 1 additions and 8 deletions   Show diff stats
src/js/controller.js
... ... @@ -36,7 +36,6 @@ angular.module('focaModalPrecioCondicion')
36 36 .catch(function (e) { console.error(e) });
37 37 focaModalPrecioCondicionService.getPlazosByIdCliente(idCliente)
38 38 .then(function (res) {
39   - console.log("Plazos ", res);
40 39 res.data.forEach(function (item) {
41 40 $scope.plazos.push(item);
42 41 });
... ... @@ -67,7 +66,6 @@ angular.module('focaModalPrecioCondicion')
67 66 }).then(function (res) {
68 67 $scope.associatedList = false;
69 68 $scope.listaDePreciosAlternativa = res;
70   - console.log(res);
71 69 }).catch(function (e) {
72 70 console.error(e);
73 71 });
... ... @@ -77,7 +75,7 @@ angular.module('focaModalPrecioCondicion')
77 75 $scope.associatedList = true;
78 76 };
79 77 $scope.verListaProductos = function (id) {
80   - var modalInstance = $uibModal.open(
  78 + $uibModal.open(
81 79 {
82 80 ariaLabelledBy: 'Busqueda de Productos',
83 81 templateUrl: 'modal-busqueda-productos.html',
... ... @@ -93,11 +91,6 @@ angular.module('focaModalPrecioCondicion')
93 91 size: 'md'
94 92 }
95 93 );
96   - modalInstance.result
97   - .then(function (res) {
98   - console.log("Producto => ", res);
99   - })
100   - .catch(function (e) { console.log(e) });
101 94 };
102 95 //#endregion
103 96