Merge branch 'main' of gitea.aldon.fr:Mop/amap
All checks were successful
Deploy Amap / deploy (push) Successful in 35s
All checks were successful
Deploy Amap / deploy (push) Successful in 35s
This commit is contained in:
@@ -57,7 +57,7 @@ export function ContractCheque({ inputForm, price, productor }: ContractChequePr
|
||||
{ capfirst: true },
|
||||
)}
|
||||
min={1}
|
||||
max={paymentMethod?.max || 3}
|
||||
max={paymentMethod?.max && paymentMethod?.max !== "" ? Number(paymentMethod?.max) : 3}
|
||||
{...inputForm.getInputProps(`cheque_quantity`)}
|
||||
/>
|
||||
<Group grow>
|
||||
|
||||
@@ -109,7 +109,7 @@ export function ProductorModal({
|
||||
existing ?? {
|
||||
name,
|
||||
details: "",
|
||||
max: null,
|
||||
max: "",
|
||||
}
|
||||
);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user