Files
openfoodnetwork/spec/system/admin
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-12-22 13:20:14 +01:00
2023-12-08 13:33:36 +01:00
2023-09-29 08:51:48 +09:00
2023-05-21 00:15:32 +01:00
2023-09-29 08:51:48 +09:00
2023-09-29 08:51:48 +09:00
2023-08-14 21:02:48 +01:00
2023-10-24 08:49:34 +09:00
2023-10-24 08:49:34 +09:00