Skip to content

Fixed #17490: use numeric for purchase cost#17555

Merged
snipe merged 1 commit intodevelopfrom
#17490-use-numeric-for-purchase-cost
Aug 10, 2025
Merged

Fixed #17490: use numeric for purchase cost#17555
snipe merged 1 commit intodevelopfrom
#17490-use-numeric-for-purchase-cost

Conversation

@snipe
Copy link
Copy Markdown
Member

@snipe snipe commented Aug 10, 2025

This forces the field type of be number so that if you accidentally add a currency symbol, it will fail validation.

I don't expect most people to use the stepper, as they're generally pretty annoying, however we have to use xx.xxx (vers xx.xx) because some currencies use three numbers after the decimal point.

Fixes #17490

Signed-off-by: snipe <snipe@snipe.net>
@snipe snipe merged commit b636cf2 into develop Aug 10, 2025
8 checks passed
@snipe snipe deleted the #17490-use-numeric-for-purchase-cost branch August 10, 2025 19:30
Yvejen pushed a commit to Yvejen/snipe-it that referenced this pull request Nov 19, 2025
…-use-numeric-for-purchase-cost

Fixed grokability#17490: use numeric for purchase cost
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.

1 participant