Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit a5a96727 authored by Levy--Falk Hugo's avatar Levy--Falk Hugo Committed by root

Rechargement via comnpay du solde.

parent a405983c
......@@ -711,6 +711,11 @@ def recharge(request):
number=1,
)
v.save()
<<<<<<< HEAD
content = payment.PAYMENT_SYSTEM[options.payment](facture, request)
=======
options, _created = AssoOption.objects.get_or_create()
content = payment.PAYMENT_SYSTEM[options.payment](facture, request.get_host())
>>>>>>> Rechargement via comnpay du solde.
return render(request, 'cotisations/payment.html', content)
return form({'rechargeform':f}, 'cotisations/recharge.html', request)
......@@ -55,7 +55,7 @@ class OptionalUser(models.Model):
max_recharge = models.DecimalField(
max_digits=5,
decimal_places=2,
default=100
default=50
)
gpg_fingerprint = models.BooleanField(default=True)
all_can_create = models.BooleanField(
......
......@@ -57,8 +57,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th>Auto inscription</th>
<td>{{ useroptions.self_adhesion }}</td>
{% if useroptions.user_solde %}
<th>Rechargement max</th>
<td>{{ useroptions.max_recharge }}</td>
<th>Solde maximum</th>
<td>{{ useroptions.max_solde }}</td>
{% endif %}
</tr>
{% if useroptions.user_solde %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment