Files
openfoodnetwork/app/webpacker/controllers
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-07-11 10:48:52 +02:00
2022-09-29 16:03:45 +02:00
2024-01-16 13:44:34 +11:00
2022-08-08 14:40:58 +10:00
2022-08-08 14:40:58 +10:00
2024-01-17 17:25:24 +11:00