Fix/minor mw fixes (#3521)

**What**
- Fix stock locations quantities being shown as `undefined` and `NaN`
- Throw if updates to location levels are made with negative quantities through the api
- Show "allocated" in order summary for partially fulfilled orders

Fixes CORE-1268, CORE-1267, CORE-1265
This commit is contained in:
Philip Korsholm
2023-03-19 21:28:59 +01:00
committed by GitHub
parent a3a7ace0c0
commit ea2633bccf
5 changed files with 53 additions and 12 deletions

View File

@@ -456,6 +456,8 @@ const AdjustAvailabilityModal = ({
onChange={(e) => setStockedQuantity(e.target.valueAsNumber)}
autoFocus
type="number"
placeholder="0"
min={0}
value={stockedQuantity}
/>
</div>