Commit 25301a33fd82810482d276f769ef6f1193fe7114
1 parent
b160261a48
Exists in
master
upstream
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -31,6 +31,7 @@ angular.module('focaAbmPreciosCondiciones') |
31 | 31 | $scope, focaAbmPreciosCondicionesService, |
32 | 32 | $routeParams, $location, focaModalService |
33 | 33 | ) { |
34 | + $scope.mostrarPlazos = $routeParams.id > 0; | |
34 | 35 | focaAbmPreciosCondicionesService.obtenerPrecioCondicion($routeParams.id) |
35 | 36 | .then(function(datos) { |
36 | 37 | $scope.precioCondicion = { |