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

Cost history numeric error #418

Closed
poacherone opened this issue Apr 26, 2018 · 0 comments
Closed

Cost history numeric error #418

poacherone opened this issue Apr 26, 2018 · 0 comments
Labels
bug This is a bug (not an enhancement)

Comments

@poacherone
Copy link
Collaborator

When adding a cost that is above a million, Coral will add two commas to the line (only in the interface, it's not added to the database). But trying to edit the cost it gives an error: price not numeric.

coral_cost_numeric_error

This can be worked around by deleting the extra punctuation when editing (they will be added anyway), but is annoying nevertheless. Extra interpunction should preferably not be added to the edit cost page at all! Especially taken into consideration the different ways of writing larger numbers internationally, as with issue #311

@veggiematts veggiematts added the bug This is a bug (not an enhancement) label Apr 27, 2018
sekjal added a commit to sekjal/Coral that referenced this issue Mar 12, 2019
Replaces all commas in a proposed amount, not just 1.  Only comes up with very expensive items....
@streatim streatim closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug (not an enhancement)
Projects
None yet
Development

No branches or pull requests

3 participants