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

Cambiar Requisitos para ingresar patente #13

Open
1 task
zafe opened this issue Jan 10, 2018 · 0 comments
Open
1 task

Cambiar Requisitos para ingresar patente #13

zafe opened this issue Jan 10, 2018 · 0 comments

Comments

@zafe
Copy link
Owner

zafe commented Jan 10, 2018

La patente puede ser de 6 caracteres (viejo sistema), 3 letras y 3 numeros o puede ser de 7 caracteres (nuevo sistema) 2 letras, 3 numeros, 2 letras.

Actualmente el sistema solo revisa si la cantidad de caracteres es nula o si tiene más de 6 caracteres.

if (patenteField.getText() == null || patenteField.getText().length() == 0 || patenteField.getText().length() > 6 ) { errorMessage += "Patente no Ingresado correctamente (6 digitos).\n"; }

  • Escribir el código para que acepte solamente cualquiera de estos dos sistemas.
@issue-sh issue-sh bot added Icebox and removed Icebox labels Jan 12, 2018
zafe pushed a commit that referenced this issue Feb 6, 2018
mejoras en edit conceptoSueldo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant