diff --git a/webapp/src/components/modals/ObizOrderProcessModal.tsx b/webapp/src/components/modals/ObizOrderProcessModal.tsx
index 050e9781..4461fd57 100644
--- a/webapp/src/components/modals/ObizOrderProcessModal.tsx
+++ b/webapp/src/components/modals/ObizOrderProcessModal.tsx
@@ -41,6 +41,14 @@ const ObizOfferVariableContent = ({
}) => {
switch (step) {
case "amount":
+ const minimumPrice = article.minimumPrice ?? 0;
+ const maximumPrice = article.maximumPrice ?? 1000;
+ const isDisabled =
+ amount === 0 ||
+ amount < minimumPrice ||
+ amount > maximumPrice ||
+ amount % 1 !== 0;
+
return (
<>
@@ -48,11 +56,17 @@ const ObizOfferVariableContent = ({
discount={article.reductionPercentage}
amount={amount}
setAmount={setAmount}
- minAmount={article.minimumPrice || 0}
- maxAmount={article.maximumPrice || 1000}
+ minAmount={minimumPrice}
+ maxAmount={maximumPrice}
/>
-