fix(dashboard): Fix broken number input in adjust inventory form (#10416)
This commit is contained in:
@@ -3267,6 +3267,27 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"adjustInventory": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"errors": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stockedQuantity": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"stockedQuantity"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"errors"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"toast": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -3300,6 +3321,7 @@
|
||||
"editItemDetails",
|
||||
"create",
|
||||
"reservation",
|
||||
"adjustInventory",
|
||||
"toast"
|
||||
],
|
||||
"additionalProperties": false
|
||||
|
||||
@@ -790,6 +790,11 @@
|
||||
"quantityOutOfRange": "Minimum quantity is 1 and maximum quantity is {{max}}"
|
||||
}
|
||||
},
|
||||
"adjustInventory": {
|
||||
"errors": {
|
||||
"stockedQuantity": "Stocked quantity cannot be updated to less than the reserved quantity of {{quantity}}."
|
||||
}
|
||||
},
|
||||
"toast": {
|
||||
"updateLocations": "Locations updated successfully.",
|
||||
"updateLevel": "Inventory level updated successfully.",
|
||||
|
||||
Reference in New Issue
Block a user