diff --git a/src/js/controller.js b/src/js/controller.js index 19f4410..3e8c6c1 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -31,6 +31,7 @@ angular.module('focaAbmPreciosCondiciones') $scope, focaAbmPreciosCondicionesService, $routeParams, $location, focaModalService ) { + $scope.mostrarPlazos = $routeParams.id > 0; focaAbmPreciosCondicionesService.obtenerPrecioCondicion($routeParams.id) .then(function(datos) { $scope.precioCondicion = {