fix(dashboard): reservations quantity validations (#9393)
**What** - validate quantity range when creating validation and handle form errors nicely --- CLOSES CC-470
This commit is contained in:
1 parent
b9e772b530
commit
cab629556f
2 files changed
+30
-7
No files matched your search
@@ -735,7 +735,11 @@
|
||||
"descriptionPlaceholder": "What type of reservation is this?",
|
||||
"successToast": "Reservation was successfully created.",
|
||||
"updateSuccessToast": "Reservation was successfully updated.",
|
||||
"deleteSuccessToast": "Reservation was successfully deleted."
|
||||
"deleteSuccessToast": "Reservation was successfully deleted.",
|
||||
"errors": {
|
||||
"noAvaliableQuantity": "Stock location doesn't have available quantity.",
|
||||
"quantityOutOfRange": "Minimum quantity is 1 and maximum quantity is {{max}}"
|
||||
}
|
||||
},
|
||||
"toast": {
|
||||
"updateLocations": "Locations updated successfully.",
|
||||
|
||||
Reference in new issue
Block a user