Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editar censo-votación pasada #8

Open
susmarmar opened this issue Dec 4, 2015 · 0 comments
Open

Editar censo-votación pasada #8

susmarmar opened this issue Dec 4, 2015 · 0 comments
Assignees
Labels

Comments

@susmarmar
Copy link
Collaborator

No debería aparecer el botón de editar un censo cuando la votación ya ha finalizado.
Y en el servicio CensusService.java en el método save añadir:
Date moment = new Date();
Assert.isTrue(census.getFechaFinVotacion().before(moment));
Para que no se pueda editar un censo de una votación finalizada.

@susmarmar susmarmar self-assigned this Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant