Files
openfoodnetwork/app
David Cook da82b12ca7 Prevent negative values for stock on hand
Using browser validation. I didn't use model validation because the on_hand pseudo-attribute doesn't support it.

But.. it turned out to  not be so simple. Browser validation can't work if the field is hidden, and breaks the javascript. So now I made the javascript smarter, and the end result is more helpful I think.
2024-02-01 11:18:15 +11:00
..
2023-09-12 23:19:05 +09:00
2024-01-04 07:55:19 +07:00
2024-01-25 14:14:58 +11:00