8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-06-30 11:04:38 +00:00

Montant minimal de rechargement + refactor de la fonction payment + self adhesion

This commit is contained in:
Gabriel Detraz 2018-01-14 20:15:21 +01:00 committed by root
parent a5a967271e
commit 208d703d95
2 changed files with 0 additions and 9 deletions

View file

@ -711,11 +711,6 @@ 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)

View file

@ -56,10 +56,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td>{{ useroptions.all_can_create }}</td>
<th>Auto inscription</th>
<td>{{ useroptions.self_adhesion }}</td>
{% if useroptions.user_solde %}
<th>Solde maximum</th>
<td>{{ useroptions.max_solde }}</td>
{% endif %}
</tr>
{% if useroptions.user_solde %}
<tr>