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

Make bank creation available in dropdown lists #237

Open
10 tasks
Yann-BUTSCHER-EIRL opened this issue Dec 13, 2020 · 0 comments
Open
10 tasks

Make bank creation available in dropdown lists #237

Yann-BUTSCHER-EIRL opened this issue Dec 13, 2020 · 0 comments
Labels
Enhancement New feature or request

Comments

@Yann-BUTSCHER-EIRL
Copy link
Collaborator

Yann-BUTSCHER-EIRL commented Dec 13, 2020

Context

When someone pay by check we need to identify the check's bank. There is an issue (#215) for that but, we also need to be able to add a new bank "on the go".

To be able to do that, we should make the bank dropdown writeable and, when a new written in the dropdown, save it.

When saving the bank name we need to sanitize the user input to prevent double entries.

Todo

  • Make bank creation available in dropdown lists
    • donation creation form
    • donation edition form
    • membership creation form
    • membership edition form
  • On bank creation, sanitize user input (in this order)
    • Trim all fore and end spaces
    • To lower case
    • No more that one following space (remove double, triple space)
    • Uppercase the first letter for each sub-string separated by one space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant