Commit b967c9d3ca62c85478440f34d7a2f4eb0508547a

Authored by Jose Pinto
1 parent f2b06cf510
Exists in master

ok identacion

Showing 1 changed file with 7 additions and 7 deletions   Show diff stats
src/js/controller.js
... ... @@ -34,15 +34,15 @@ angular.module('focaAbmPreciosCondiciones')
34 34 $scope.buscar = function(key) {
35 35 if(key === 13){
36 36 focaAbmPreciosCondicionesService
37   - .obtenerPreciosCondiciones($scope.filters)
38   - .then(function(datos) {
39   - $scope.preciosCondiciones = datos.data;
40   - $scope.preciosCondiciones.forEach(function(precioCondicion) {
41   - precioCondicion.plazoPago.sort(function(a, b) {
42   - return a.dias- b.dias;
  37 + .obtenerPreciosCondiciones($scope.filters)
  38 + .then(function(datos) {
  39 + $scope.preciosCondiciones = datos.data;
  40 + $scope.preciosCondiciones.forEach(function(precioCondicion) {
  41 + precioCondicion.plazoPago.sort(function(a, b) {
  42 + return a.dias- b.dias;
  43 + });
43 44 });
44 45 });
45   - });
46 46 }
47 47 };
48 48 }