fix(pricing,dashboard): update min_quantity/max_quantity to decimal in price model (#14045)

This commit is contained in:
Nicolas Gorga
2025-12-16 13:38:53 -03:00
committed by GitHub
parent bee86bf1d5
commit b5edbb9940
9 changed files with 110 additions and 48 deletions

View File

@@ -180,6 +180,7 @@ function OrderEditItem({ item, currencyCode, orderId }: OrderEditItemProps) {
<Input
className="bg-ui-bg-base txt-small w-[67px] rounded-lg [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"
type="number"
step="any"
disabled={item.detail.fulfilled_quantity === item.quantity}
min={item.detail.fulfilled_quantity}
defaultValue={item.quantity}