mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 06:32:26 +00:00
Fix : Evite le plantage si le montant vaut exactement le minimum
This commit is contained in:
parent
b8ab569a38
commit
e60196db9b
1 changed files with 1 additions and 2 deletions
|
@ -284,8 +284,7 @@ class RechargeForm(FormRevMixin, Form):
|
||||||
"""
|
"""
|
||||||
value = forms.DecimalField(
|
value = forms.DecimalField(
|
||||||
label=_("Amount"),
|
label=_("Amount"),
|
||||||
min_value=0.01,
|
decimal_places=2,
|
||||||
validators=[]
|
|
||||||
)
|
)
|
||||||
payment = forms.ModelChoiceField(
|
payment = forms.ModelChoiceField(
|
||||||
queryset=Paiement.objects.none(),
|
queryset=Paiement.objects.none(),
|
||||||
|
|
Loading…
Reference in a new issue