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

Allow non-numeric postal codes #294

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

cschuijt
Copy link
Contributor

In some locales, postal codes are not just digits, they can contain letters as well. In the Netherlands, they look like 1234AB. The webapp currently only allows numbers for postal codes, which makes it impossible for me to enter this code there when entering customer or supplier contact info.

Since the codes are saved as strings in the database anyway, this PR removes the number validation from the customer/supplier forms and allows the user to enter any string instead. On the backend, everything should work just like it did before.

I ran into this issue while trying to migrate my data into Bigcapital, and since it was a very easy fix, I figured I'd immediately make a pull request out of it. If I missed something or something needs a change, please let me know!

Copy link

vercel bot commented Dec 26, 2023

@cschuijt is attempting to deploy a commit to the Bigcapital Team on Vercel.

A member of the Team first needs to authorize it.

@abouolia abouolia merged commit 39115b3 into bigcapitalhq:develop Dec 26, 2023
0 of 2 checks passed
@abouolia
Copy link
Contributor

abouolia commented Dec 26, 2023

Awesome, appreciate your contribution that totally make sense, I've merged it keep contribute. thanks again.

@all-contributors please add @cschuijt for bug

Copy link
Contributor

@abouolia

I've put up a pull request to add @cschuijt! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants