mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
Rechargement via comnpay du solde.
This commit is contained in:
parent
a405983cfa
commit
a5a967271e
3 changed files with 8 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue