Commit 9a6a81b825a204f90431b9acc0a6c332bd142389
1 parent
47f6ee51e8
Exists in
master
Borrado de variable sin uso xD.
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -138,9 +138,7 @@ angular.module('focaModalPrecioCondicion') |
138 | 138 | $scope.guardarPrecioCondicion = function () { |
139 | 139 | $scope.plazos.shift(); |
140 | 140 | focaModalPrecioCondicionService.createPlazo($scope.plazos) |
141 | - .then(function (res) { | |
142 | - var caca = $filter('filter')($scope.plazos, { activo: true }, true) | |
143 | - console.log(caca); | |
141 | + .then(function () { | |
144 | 142 | var precioCondicion = { |
145 | 143 | listaPrecio: $scope.associatedList ? $scope.listaDePreciosAsociada : $scope.listaDePreciosAlternativa, |
146 | 144 | plazoPago: $filter('filter')($scope.plazos, { activo: true }, true) |